26846
This commit is contained in:
		| @@ -201,18 +201,14 @@ export default { | ||||
|     }, | ||||
|  | ||||
|     like(id) { | ||||
|       this.$loading() | ||||
|       this.$http.post(`/app/appvillagediscussmessage/suport?id=${id}&userId=${this.user.id}`).then((res) => { | ||||
|         this.$hideLoading() | ||||
|         if (res.code === 0) { | ||||
|           this.$u.toast('点赞成功') | ||||
|  | ||||
|           this.$nextTick(() => { | ||||
|             this.getDetail() | ||||
|           }) | ||||
|         } else { | ||||
|           this.$u.toast(res.msg) | ||||
|         } | ||||
|           this.getDetail() | ||||
|         }  | ||||
|       }).catch((err) => { | ||||
|         this.$u.toast(err) | ||||
|       }) | ||||
|     }, | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user