From a7559813c9d8955ac9d4ca1cf5f68245981f8427 Mon Sep 17 00:00:00 2001 From: ronger Date: Tue, 24 Aug 2021 22:33:42 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=85=B3=E6=B3=A8=E5=85=B3=E7=B3=BB?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=96=B9=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/article/_article_id.vue | 21 +++++++-------------- pages/user/_account.vue | 7 ++++--- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/pages/article/_article_id.vue b/pages/article/_article_id.vue index e0d5e32..1d8350c 100644 --- a/pages/article/_article_id.vue +++ b/pages/article/_article_id.vue @@ -44,7 +44,7 @@ @@ -202,7 +202,6 @@ export default { this.$router.push({ path: `/user/${this.$route.params.account}?tab=${key}&page=${page}` }) - }, gotoChats() { let _ts = this; @@ -218,6 +217,7 @@ export default { followingType: 0 }).then(function (res) { _ts.$set(_ts, 'isFollow', res); + _ts.$store.dispatch('follow/fetchUserFollowingList'); }) } else { _ts.login() @@ -231,6 +231,7 @@ export default { followingType: 0 }).then(function (res) { _ts.$set(_ts, 'isFollow', res); + _ts.$store.dispatch('follow/fetchUserFollowingList'); }) } else { _ts.login()