Commit fd85f341 authored by 涂伟's avatar 涂伟

fix: '事件删除文案优化'

parent 399845b9
......@@ -247,7 +247,7 @@ const incident = () => {
<Popconfirm
// visible={showDeletePop}
placement="bottomRight"
title={<p>此事件有{caseCount}条工单,删除事件后会删除对应的工单,请谨慎操作。</p>}
title={<p>{caseCount?`此事件有${caseCount}条工单,删除事件后会删除对应的工单,请谨慎操作。`: `即将删除事件类型表,是否确认删除?`}</p>}
okText="确认"
cancelText="取消"
onConfirm={() => deleteEventType(record)}
......
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