diff --git a/src/views/user/Setting.vue b/src/views/user/Setting.vue index 2c489451..904428b7 100644 --- a/src/views/user/Setting.vue +++ b/src/views/user/Setting.vue @@ -448,6 +448,7 @@ apiTeach.detailTeacher(this.userInfo.aid).then(res =>{ this.teachform.courses = res.result.courses; this.teachform.workExperience = res.result.workExperience; + this.teachform.photo=res.result.photo; this.tearchUrl = this.fileBaseUrl + res.result.photo; this.teachform.expertise = res.result.expertise.split( ',' ); let children=[]; @@ -556,9 +557,9 @@ this.$message.error('最多选择三个专长!') return; } - console.log(this.checkboxtearGroup); + //console.log(this.checkboxtearGroup); this.teachform.expertise = this.checkboxtearGroup.toString(); - console.log(this.teachform.expertise); + //console.log(this.teachform.expertise); this.teachform.id = this.userInfo.aid; apiTeach.updateTeacher(this.teachform).then(res =>{ //console.log('编辑成功')