Commit 3b9808fe by zhaochengxiang

bug fix

parent 08d999a1
......@@ -75,6 +75,6 @@
"last 1 safari version"
]
},
"proxy": "http://139.198.127.28:18762",
"proxy": "http://139.198.126.96:8089",
"homepage": "http://myhost/data-govern"
}
......@@ -783,7 +783,7 @@ const AssetManageTree = (props) => {
onSelect?.(null, null);
setTimeout(() => {
onSelect?.('', '');
getAllDirectoryAsTree(false)
getAllDirectoryAsTree(true)
}, 100)
}}
style={{ width: 65 }}
......
......@@ -135,7 +135,7 @@ const AssetTree = (props) => {
getAllDirectoryAsTree(true, _dirId)
} else {
onSelect?.('', '')
getAllDirectoryAsTree(false)
getAllDirectoryAsTree(true)
}
}
},
......@@ -451,8 +451,8 @@ const AssetTree = (props) => {
const onTreeSelect = (keys, _) => {
if ((keys||[]).length === 0) {
setCurrentDirId();
onSelect?.('', '');
// setCurrentDirId();
// onSelect?.('', '');
return;
}
......@@ -584,7 +584,7 @@ const AssetTree = (props) => {
onSelect?.(null, null);
setTimeout(() => {
onSelect?.('', '');
getAllDirectoryAsTree(false)
getAllDirectoryAsTree(true)
}, 100)
}}
style={{ width: 65 }}
......
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