diff --git a/spug_web/src/pages/system/role/HostPerm.js b/spug_web/src/pages/system/role/HostPerm.js index dfea388..456f388 100644 --- a/spug_web/src/pages/system/role/HostPerm.js +++ b/spug_web/src/pages/system/role/HostPerm.js @@ -18,7 +18,7 @@ export default observer(function () { useEffect(() => { if (hostStore.treeData.length === 0) { - hostStore.fetchGroups() + hostStore.initial() } }, [])