This commit is contained in:
zhaofang
2022-11-22 14:05:17 +08:00
parent e5dec24a94
commit a31deca25c
2 changed files with 6 additions and 1 deletions

View File

@@ -84,11 +84,16 @@
},
watch:{
data(newVal,oldVal){
console.log(newVal,'newVal')
if(newVal && newVal.id!=''){
this.checkHas();
}
}
},
mounted() {
this.checkHas();
// this.loadUser();
},
computed:{
...mapGetters(['userInfo']),
},

View File

@@ -317,7 +317,7 @@ export default {
}
apiComment.add(cdata).then(res=>{
if(res.status==200){
this.$refs.interactToast.show({message:'发布成功',type:'success'});
// this.$refs.interactToast.show({message:'发布成功',type:'success'});
this.inputValue='';
this.data.comments++;
this.toUserDig.chooseUserId='';