Commit f93e5af3 by zhaochengxiang

bug fix

parent 179ac470
...@@ -115,7 +115,7 @@ const ModelTree = (props) => { ...@@ -115,7 +115,7 @@ const ModelTree = (props) => {
} }
//eslint-disable-next-line react-hooks/exhaustive-deps //eslint-disable-next-line react-hooks/exhaustive-deps
}, [ keyword, searchProperties, viewSelectedKey]) }, [ keyword, searchProperties, viewSelectedKey, item, prevItem])
const haveStockImportPermission = useMemo(() => { const haveStockImportPermission = useMemo(() => {
return (item?.optionList||[]).findIndex(option => option.name==='存量模型导入'&&option.enabled) !== -1 return (item?.optionList||[]).findIndex(option => option.name==='存量模型导入'&&option.enabled) !== -1
......
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