Commit 52735af5 authored by 涂伟's avatar 涂伟

fix: '提示信息优化'

parent 9437d193
Pipeline #71701 waiting for manual action with stages
......@@ -263,7 +263,7 @@ const WorkflowHomePage = () => {
getFlowList();
message.success('删除成功');
} else {
message.error(res.msg);
message.error({ content: <div style={{ whiteSpace: 'pre-line', textAlign: 'justify' }}>{res.msg}</div> });
}
})
.catch(() => {
......
......@@ -110,7 +110,7 @@ const FlowChart = props => {
if (res.code === 0) {
message.success('删除成功 ');
} else {
message.error(res.msg);
message.error({ content: <div style={{ whiteSpace: 'pre-line', textAlign: 'justify' }}>{res.msg}</div> });
}
});
console.log(delNodes, delLinks, 'fffff');
......
......@@ -126,7 +126,8 @@ const FlowChart = props => {
if (res.code === 0) {
message.success('删除成功');
} else {
message.error(res.msg);
// message.error(res.msg);
message.error({ content: <div style={{ whiteSpace: 'pre-line', textAlign: 'justify' }}>{res.msg}</div> });
}
});
console.log(delNodes, delLinks, 'fffff');
......
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