Commit 649fa45d by zhaochengxiang

资产目录问题

parent 256675f7
...@@ -81,7 +81,7 @@ const AssetTree = (props) => { ...@@ -81,7 +81,7 @@ const AssetTree = (props) => {
}, [tableId]) }, [tableId])
useEffect(() => { useEffect(() => {
if ((centerId||'') !== '') { if ((centerId||'')!=='' && centerId!==currentDirId) {
treeDirectoryChanged(centerId); treeDirectoryChanged(centerId);
} }
//eslint-disable-next-line react-hooks/exhaustive-deps //eslint-disable-next-line react-hooks/exhaustive-deps
......
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