Browse Source

优化查看的模态框

dev
zhaobing 2 years ago
parent
commit
4769423000
  1. 12
      web/client/src/sections/fillion/components/task/addTaskModal.js

12
web/client/src/sections/fillion/components/task/addTaskModal.js

@ -58,12 +58,12 @@ const AddModal = (props) => {
onOk={
handleSaveUpdate
}
okButtonProps={{
disabled: lookVal ? true : false,
}}
cancelButtonProps={{
disabled: lookVal ? true : false,
}}
footer={
lookVal ? null : [
<Button onClick={() => { onClose(); form.resetFields(); setSelectVal('') }}>取消</Button>,
<Button type='primary' onClick={handleSaveUpdate}>确认</Button>
]
}
>
<Form form={form}>
<Form.Item

Loading…
Cancel
Save