mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-06 17:36:45 +08:00
提交
This commit is contained in:
@@ -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']),
|
||||
},
|
||||
|
||||
@@ -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='';
|
||||
|
||||
Reference in New Issue
Block a user