From 5e37b7871e24aec08cc1fa1aad3ab5dacfd4d89b Mon Sep 17 00:00:00 2001
From: zhaofang <752743406@qq.com>
Date: Wed, 16 Nov 2022 14:04:02 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/my/follow.vue | 3 ++-
pages/my/index.vue | 5 ++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pages/my/follow.vue b/pages/my/follow.vue
index b421e50..457d535 100644
--- a/pages/my/follow.vue
+++ b/pages/my/follow.vue
@@ -114,6 +114,7 @@
}
},
onLoad(options) {
+ this.tab = options.type;
this.$store.dispatch('GetUserInfo').then(rs => {
this.userInfo = rs;
this.getMyPage();
@@ -161,7 +162,7 @@
})
},
ubtab(num){
- this.tab = num
+ this.tab = num;
},
getMyPage() {//关注我的,关注他的
this.followMe.aid = this.userInfo.aid;
diff --git a/pages/my/index.vue b/pages/my/index.vue
index f0e419d..271df68 100644
--- a/pages/my/index.vue
+++ b/pages/my/index.vue
@@ -78,12 +78,12 @@
-
+
{{ concernme }}
关注我的
-
+
{{ myconcern }}
我的关注
@@ -367,7 +367,6 @@
Followto(){
apiFollow.counts(this.userInfoObj.aid).then(res => {
- console.log(res);
this.concernme = res.result.passive;
this.myconcern = res.result.initiative;
})