mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 19:06:43 +08:00
教师检查的问题
This commit is contained in:
@@ -166,7 +166,7 @@
|
||||
if(this.pageId !== this.userInfo.aid) {
|
||||
this.followHas();
|
||||
}
|
||||
this.Teacherprofile();
|
||||
this.teacherProfile();
|
||||
|
||||
},
|
||||
|
||||
@@ -191,7 +191,7 @@
|
||||
}else{
|
||||
this.tearchUrl ='';
|
||||
}
|
||||
|
||||
|
||||
//通过用户的sysId(原系统中的kid)去取用户
|
||||
apiBoeTeahcer.simpleInfo(res.result.sysId).then(sinfo=>{
|
||||
if(sinfo.status=='200'){
|
||||
@@ -226,8 +226,8 @@
|
||||
})
|
||||
})
|
||||
},
|
||||
Teacherprofile(){
|
||||
apiTeach.has(this.userInfo.aid).then(res =>{
|
||||
teacherProfile(){ //检查是否是教师
|
||||
apiTeach.has(this.pageId).then(res =>{
|
||||
this.teaechswich = res.result.isTeacher;
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user