Admin
2022-09-26 fd41f55c6178449e1802ff43f46a477247032d97
src/stores/userInfo.ts
@@ -19,9 +19,10 @@
            dataList: []
        }
    }),
    persist:true,
    actions: {
        async setUserInfos(value: any) {
            this.userInfos.userName = value.username;
            this.userInfos.userName = value.realName;
            this.userInfos.uid = value.uid;
            this.userInfos.roles = value.role;
            // const userName = Cookies.get('userName');