Commit 93bdd60e by zhaochengxiang

bug fix

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