diff --git a/src/apps/AppVillageDiscuss/Detail.vue b/src/apps/AppVillageDiscuss/Detail.vue index 7ef042c4..9af2d27e 100644 --- a/src/apps/AppVillageDiscuss/Detail.vue +++ b/src/apps/AppVillageDiscuss/Detail.vue @@ -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) }) },