Commit 93bdd60e by zhaochengxiang

bug fix

parent 549e42eb
...@@ -454,18 +454,8 @@ const AssetManageTree = (props) => { ...@@ -454,18 +454,8 @@ const AssetManageTree = (props) => {
} }
const editDir = () => { const editDir = () => {
setUpdateDirectoryAction('edit');
if ((currentDirType||'') === '') { setUpdateDirectoryModalVisible(true);
setUpdateDirectoryAction('edit');
setUpdateDirectoryModalVisible(true);
} else if (currentDirType === 'custom') {
setCustomDirectoryAction('edit');
setCustomDirectoryModalVisible(true);
}
} }
const refreshTree = () => { const refreshTree = () => {
......
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