F 修复未分配主机权限时批量执行空白页问题

4.0
vapao 2022-10-08 16:42:35 +08:00
parent 0ccae4f461
commit fdd153a090
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ export default observer(function (props) {
hStore.initial().then(() => { hStore.initial().then(() => {
store.rawRecords = hStore.rawRecords; store.rawRecords = hStore.rawRecords;
store.rawTreeData = hStore.rawTreeData; store.rawTreeData = hStore.rawTreeData;
store.group = store.treeData[0] store.group = store.treeData[0] || {}
}) })
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
}, []) }, [])