From 61218bb21c5e5b4fa1a5ac8a1afd29ac258ee38f Mon Sep 17 00:00:00 2001 From: daihh Date: Tue, 27 Dec 2022 16:19:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=99=E5=B8=88=E9=83=A8=E5=88=86=E7=9A=84?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/user/Setting.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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('编辑成功')