Ben Lin
2024-05-30 78b9dc26b2709fd8904cff5f0ca284f26aa464a6
src/router/guard/permissionGuard.ts
@@ -85,7 +85,7 @@
    // get userinfo while last fetch time is empty
    if (userStore.getLastUpdateTime === 0) {
      try {
        var userinfo = await userStore.getUserInfoAction();
        const userinfo = await userStore.getUserInfoAction();
        
      if (isNullOrUnDef(userinfo?.userId)) {
        userStore.setToken(undefined);