mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
前端白名单控制
This commit is contained in:
@@ -410,10 +410,14 @@ export default {
|
||||
this.getLastStudy();
|
||||
},
|
||||
mounted() {
|
||||
console.log(this.userInfo.loginName,'this.userInfo.loginName')
|
||||
if(testUser.isTest(this.userInfo.loginName)){
|
||||
this.isTest=true;
|
||||
}
|
||||
console.log(this.userInfo.loginName,'this.userInfo.loginName');
|
||||
let flag=testUser.isTest(this.userInfo.loginName);
|
||||
console.log(flag,'this.isTest22');
|
||||
this.isTest=flag;
|
||||
// if(testUser.isTest(this.userInfo.loginName)){
|
||||
// console.log(this.isTest,'this.isTest');
|
||||
// this.isTest=true;
|
||||
// }
|
||||
},
|
||||
methods: {
|
||||
toCourseDetail(item){
|
||||
|
||||
Reference in New Issue
Block a user