From b515d27c470d96b9620fec63d7fc47ea93ecb32c Mon Sep 17 00:00:00 2001 From: vapao Date: Fri, 21 May 2021 12:23:53 +0800 Subject: [PATCH] fix issue --- spug_web/src/pages/system/role/HostPerm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() } }, [])