Commit daaf9476 by zhaochengxiang

资产报错问题

parent 82e3d32c
...@@ -45,7 +45,9 @@ const AssetTree = (props) => { ...@@ -45,7 +45,9 @@ const AssetTree = (props) => {
}, [timestamp]) }, [timestamp])
useEffect(() => { useEffect(() => {
getTableDirIds(); if ((tableId||'') !== '') {
getTableDirIds();
}
//eslint-disable-next-line react-hooks/exhaustive-deps //eslint-disable-next-line react-hooks/exhaustive-deps
}, [tableId]) }, [tableId])
......
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