yinbangzhong
2024-08-05 2be0a4e7b031ff8dedd06f8198838fc238936830
src/store/modules/user/index.ts
@@ -28,6 +28,7 @@
    accountId: undefined,
    certification: undefined,
    role: '',
    resources:undefined,
  }),
  getters: {
@@ -70,6 +71,7 @@
          name: res.data.nickname,
          email: res.data.email,
        };
        this.resources=res.data.resources;
        setUserInfo(JSON.stringify(userInfo));
      } catch (err) {
        clearToken();