教师检查的问题

This commit is contained in:
daihh
2023-01-13 10:51:23 +08:00
parent 9f5528e6d3
commit 6b08949327

View File

@@ -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;
})
},