Commit 391ec24e by zhaochengxiang

bug fix

parent a121c633
...@@ -652,8 +652,6 @@ const AssetTable = (props) => { ...@@ -652,8 +652,6 @@ const AssetTable = (props) => {
if (refresh) { if (refresh) {
setCheckedKeys([]); setCheckedKeys([]);
getDataAssets(); getDataAssets();
showMessage('success', (reference === AssetRecycleReference)?'挂载成功':'变更目录成功');
} }
} }
......
...@@ -39,7 +39,7 @@ const AssetMount = (props) => { ...@@ -39,7 +39,7 @@ const AssetMount = (props) => {
}, },
callback: data => { callback: data => {
setConfirmLoading(false); setConfirmLoading(false);
showMessage('success', '变更目录成功') showMessage('success', (reference === AssetRecycleReference)?'挂载成功':'变更目录成功');
reset(); reset();
onCancel && onCancel(true); onCancel && onCancel(true);
}, },
......
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