src/api/authority.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/store/modules/user/index.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/api/authority.ts
@@ -10,9 +10,6 @@ phoneNumber: string; dept: any; deptName:string; resources: any; knowledges: any; dialogs: any; createTime: string; status: string; psw:string; src/store/modules/user/index.ts
@@ -78,8 +78,6 @@ }; if(res.data.roles && res.data.roles.length>0) this.resources=res.data.roles[0].resources; else this.resources=res.data.resources; setUserInfo(JSON.stringify(userInfo)); setUserResources(JSON.stringify(this.resources)) for (const r of this.resources) {