马宇豪
2023-02-23 7fd5c2d17a4df2c6818ab76d6dffe851afa18c9c
src/stores/userInfo.ts
@@ -15,6 +15,7 @@
            roles: [],
            authBtnList: [],
            uid: '',
            depId: null,
            projectId: '',
            dataList: []
        }
@@ -25,6 +26,7 @@
            this.userInfos.userName = value.realName;
            this.userInfos.uid = value.uid;
            this.userInfos.roles = value.role;
            this.userInfos.depId = value.depId
            // const userName = Cookies.get('userName');
            // // 模拟数据
            // let defaultRoles: Array<string> = [];