Commit 2b8915f3 authored by 邓超's avatar 邓超

fix: 事件导入导出优化

parent 8089202e
Pipeline #67273 waiting for manual action with stages
......@@ -393,6 +393,7 @@ const incident = () => {
console.log('OK');
ImportEventConfig(formData).then(response => {
if (response.code === 0) {
setFlag(flag + 1);
message.success('导入成功');
} else {
message.error(response.msg);
......@@ -400,7 +401,7 @@ const incident = () => {
});
},
okText: '确认',
cancelText: '取消',
cancelText: '我在想想',
});
} else {
message.error(res.msg);
......@@ -672,7 +673,7 @@ const incident = () => {
<Button style={{ marginLeft: '10px' }} type="primary" ghost>
<div style={{ display: 'flex', alignItems: 'center' }}>
<ImportOutlined style={{ marginRight: '5px' }} />
<div> 导入</div>
<div> 确认导入</div>
</div>
</Button>
</Upload>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment