mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 03:16:42 +08:00
为管理端直接调用此页面,进行身份切换
This commit is contained in:
@@ -197,6 +197,9 @@ export default {
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
//为管理端,直接调用此页面时,设置当前人的身份
|
||||
this.$store.dispatch('SetCurIdentity',2);
|
||||
|
||||
this.searchData();
|
||||
this.getResOwnerTree().then(rs=>{
|
||||
this.resOwnerListMap=rs;
|
||||
|
||||
Reference in New Issue
Block a user