Admin
2022-09-22 4eda339d2fc8ac337618ca3790817bc3af5ff4b8
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');