From 9194231b7540ceb5cb21c0b5477d9d1d3d725ecc Mon Sep 17 00:00:00 2001 From: wallleap <15579576761@163.com> Date: Sat, 5 Aug 2023 20:37:43 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(About):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=82=B9=E8=B5=9E=E5=90=8E=E6=98=BE=E7=A4=BA=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/about/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/about/index.vue b/src/views/about/index.vue index 8c0f752..8d9b644 100644 --- a/src/views/about/index.vue +++ b/src/views/about/index.vue @@ -62,7 +62,7 @@ export default { if (res !== 'undefined') this.likeTimes = res }, - likeClick() { + async likeClick() { if (this.isLiked === 'isLiked') { this.$message({ content: '您已经点过赞了哦~', @@ -70,7 +70,7 @@ export default { }) return } - this.likeTimes = this.$store.dispatch('leancloud/queryLikeAction').catch((err) => { + this.likeTimes = await this.$store.dispatch('leancloud/queryLikeAction').catch((err) => { this.$message({ content: '点赞失败', type: 'error',