头像问题,课程审核时,如果第一次拒绝了,再审核下一门课的时候,发现默认选项变成拒绝了,数据未重置问题

This commit is contained in:
daihh
2022-10-14 17:13:25 +08:00
parent 42ccaaef03
commit 0c28670d2b
5 changed files with 24 additions and 37 deletions

View File

@@ -19,7 +19,7 @@
</div>
</template>
<script>
import { userAvatarText } from "@/utils/tools.js";
export default {
props:{
avatar:{
@@ -101,22 +101,7 @@ import { userAvatarText } from "@/utils/tools.js";
info(newVal,oldVal){
this.userInfo=newVal;
}
},
computed:{
avatarText(){
return userAvatarText(this.userName);
}
},
// computed:{
// headImag(){
// if(this.avatar || this.avatar==null || this.avatar==''){
// return require("@/assets/images/user/default.png");
// }else{
// return this.baseUrl+this.avatar;
// }
// }
// }
}
}
</script>