修复less导入污染全局
This commit is contained in:
@ -3,6 +3,7 @@ import { Form, Input, Switch, Tabs, message, Button } from 'antd';
|
||||
import WangEditor from '@/components/WangEidtor/WangEidtor';
|
||||
import { TopStatus, EnglishSetting } from '@/dicts/noticeManageDict';
|
||||
import { addNotice, updateNotice, getNoticeDetail } from '@/servers/api/notice';
|
||||
import styles from './noticeManage.less';
|
||||
|
||||
const { TabPane } = Tabs;
|
||||
|
||||
@ -161,13 +162,12 @@ const NoticeManageForm: React.FC<NoticeManageFormProps> = ({ id, isEdit, onSucce
|
||||
</TabPane>
|
||||
</Tabs>
|
||||
</Form>
|
||||
<div style={{ textAlign: 'right', marginTop: '20px' }}>
|
||||
<div className={styles.formActions}>
|
||||
<Button onClick={() => onSuccess()}>取消</Button>
|
||||
<Button
|
||||
type="primary"
|
||||
loading={loading}
|
||||
onClick={handleSubmit}
|
||||
style={{ marginLeft: '8px' }}
|
||||
>
|
||||
提交
|
||||
</Button>
|
||||
|
Reference in New Issue
Block a user