Commit 3b9808fe by zhaochengxiang

bug fix

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