mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-08 18:36:43 +08:00
test
This commit is contained in:
@@ -565,10 +565,7 @@ export default {
|
|||||||
this.requireSaveCourse = true;
|
this.requireSaveCourse = true;
|
||||||
|
|
||||||
console.log("--- watch比较 = ", oldVal.orgId, newVal.orgId);
|
console.log("--- watch比较 = ", oldVal.orgId, newVal.orgId);
|
||||||
if (newVal.orgId !== oldVal.orgId) {
|
|
||||||
console.log("--- watch newVal.orgId = ", newVal.orgId);
|
|
||||||
this.checkOrgPermission(newVal.orgId);
|
this.checkOrgPermission(newVal.orgId);
|
||||||
}
|
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
}
|
}
|
||||||
@@ -605,10 +602,12 @@ export default {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.isPermission = this.dicts.includes(orgId);
|
this.isPermission = this.dicts.includes(orgId);
|
||||||
|
if(!this.courseInfo.device){
|
||||||
this.courseInfo.device = 3;
|
this.courseInfo.device = 3;
|
||||||
if(this.isPermission){
|
if(this.isPermission){
|
||||||
this.courseInfo.device = 4;
|
this.courseInfo.device = 4;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
console.log("--- 监听结束 this.isPermission = ",this.isPermission)
|
console.log("--- 监听结束 this.isPermission = ",this.isPermission)
|
||||||
},
|
},
|
||||||
// 关键字的更改
|
// 关键字的更改
|
||||||
|
|||||||
Reference in New Issue
Block a user