教师职业照,图片移除问题

This commit is contained in:
daihh
2022-12-29 15:37:51 +08:00
parent b8071a7455
commit a18320e755
3 changed files with 21 additions and 19 deletions

View File

@@ -405,7 +405,7 @@
this.teachform.photo = res.result.photo;
this.tearchUrl = this.fileBaseUrl + res.result.photo;
}
apiBoeTeahcer.simpleInfo(this.userInfo.sysId).then(sinfo=>{
if(sinfo.status=='200'){
if(sinfo.result.courses){
@@ -420,7 +420,7 @@
}
}
})
this.teachform.expertise = res.result.expertise.split( ',' );
let children=[];
this.sysTypeListtear.forEach(nm =>{
@@ -614,10 +614,12 @@
this.tearchUrl= res.result.httpPath;
},
removetearchHandle(){
this.avatarUrl='';
this.teachform.photo = '';
//this.$message.error('移除图片');
this.tearchUrl='';
this.teachform.photo = '';
},
removeHandle(){
this.avatarUrl='';
this.form.account.avatar = '';
},