Commit 41f56f01 by zhaochengxiang

bug fix

parent b2025c13
...@@ -33,8 +33,12 @@ const RecatalogModal = (props) => { ...@@ -33,8 +33,12 @@ const RecatalogModal = (props) => {
callback: message => { callback: message => {
setConfirmLoading(false); setConfirmLoading(false);
if ((message||'')!=='' && (message||'')!=='ok') { if (message) {
showNotifaction('提示', message, 5); if (message === 'ok') {
showMessage('success', '变更目录成功')
} else {
showMessage('warn', '变更目录失败,所选对象含审批中或变更中模型,不允许变更目录')
}
} }
reset(); reset();
......
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