Commit 756f1004 by zhaochengxiang

资产目录删除问题

parent ba59c2a5
...@@ -420,7 +420,7 @@ const AssetManageTree = (props) => { ...@@ -420,7 +420,7 @@ const AssetManageTree = (props) => {
payload: {data: [ currentRightClickDir.nodeId ]}, payload: {data: [ currentRightClickDir.nodeId ]},
callback: () => { callback: () => {
showMessage("success","删除成功"); showMessage("success","删除成功");
getAllDirectoryAsTree(true, currentDirId); getAllDirectoryAsTree(true, (currentRightClickDir.nodeId===currentDirId)?'':currentDirId);
} }
}) })
} }
......
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