|
@@ -93,9 +93,9 @@ class EditorDemo extends React.Component<EditorDemoProps> {
|
|
editorState: ContentUtils.insertMedias(this.state.editorState, [
|
|
editorState: ContentUtils.insertMedias(this.state.editorState, [
|
|
{
|
|
{
|
|
type: 'IMAGE',
|
|
type: 'IMAGE',
|
|
- url: fileList[len].response.data + `?imageView2/1/w/343/h/192`,
|
|
|
|
|
|
+ url: fileList[len].response.data + `?imageView2/1`,
|
|
width: '343px',
|
|
width: '343px',
|
|
- height: '192px',
|
|
|
|
|
|
+ // height: '192px',
|
|
},
|
|
},
|
|
]),
|
|
]),
|
|
});
|
|
});
|
|
@@ -344,6 +344,9 @@ const NoticeModal: React.FC<noticeModalProps & IProps> = ({
|
|
>
|
|
>
|
|
<Input style={{ width: '375px' }} onChange={changeLabel} maxLength={80}></Input>
|
|
<Input style={{ width: '375px' }} onChange={changeLabel} maxLength={80}></Input>
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
|
+ <Form.Item name="tag" label="公告标签:">
|
|
|
|
+ <Input style={{ width: '375px' }} onChange={changeLabel} maxLength={10}></Input>
|
|
|
|
+ </Form.Item>
|
|
<Form.Item name="content" label="公告内容:">
|
|
<Form.Item name="content" label="公告内容:">
|
|
<EditorDemo key={editContent} changeContent={changeContent} editorContent={editContent} />
|
|
<EditorDemo key={editContent} changeContent={changeContent} editorContent={editContent} />
|
|
</Form.Item>
|
|
</Form.Item>
|