傅行帆 5 years ago
parent
commit
0a7a1a4de3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/pages/h5SampleManager/h5Sample/detail.jsx

+ 1
- 1
src/pages/h5SampleManager/h5Sample/detail.jsx View File

@@ -104,7 +104,7 @@ const header = props => {
104 104
         </Form.Item>}
105 105
         <Form.Item label="样例内容">
106 106
           <span style={{ color: 'rgba(0, 0, 0, 0.45)', fontSize: '14px' }}>若您想在您的小程序举办类似活动,请联系以下联系人咨询,或直接点击底部的 提交需求 按钮下单,下单后与联系人沟通定制活动</span><br/>
107
-          {demandData.sampleType === 'rich' ? getFieldDecorator('sampleContent')(<Wangedit contenteditable={false} />) : getFieldDecorator('sampleContentLink')(<a style={{ color: "blue" }} href={demandData.sampleContentLink} target="_blank" >{demandData.sampleContentLink}</a>)}
107
+          {demandData.sampleType === 'rich' ? getFieldDecorator('sampleContent')(<div dangerouslySetInnerHTML={{ __html: demandData.sampleContent}}></div>) : getFieldDecorator('sampleContentLink')(<a style={{ color: "blue" }} href={demandData.sampleContentLink} target="_blank" >{demandData.sampleContentLink}</a>)}
108 108
         </Form.Item>
109 109
         <Form.Item wrapperCol={{ span: 15, offset: 7 }}>
110 110
           <div style={{ margin: '0.16rem 0 0.06rem' }}>