编辑教师和教师信息接口

This commit is contained in:
lmj
2022-12-07 18:08:54 +08:00
parent 3c104fddeb
commit 0c42b2fc12
2 changed files with 31 additions and 21 deletions

View File

@@ -187,11 +187,9 @@
Teacherinfo(){
apiTeach.detail(this.userInfo.aid).then(res =>{
this.teachtext = res.result;
console.log(this.teachtext);
})
},
Teacherprofile(){
console.log()
apiTeach.has(this.userInfo.aid).then(res =>{
this.teaechswich = res.result.isTeacher;
})