This commit is contained in:
zhaofang
2022-11-16 14:04:02 +08:00
parent 3ee1d94037
commit 5e37b7871e
2 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -78,12 +78,12 @@
</view>
<text class="asset-border"></text>
<view @click="navigateTo('follow')">
<view @click="navigateTo('follow?type=1')">
<text>{{ concernme }}</text>
关注我的
</view>
<text class="asset-border"></text>
<view @click="navigateTo('follow')">
<view @click="navigateTo('follow?type=2')">
<text>{{ myconcern }}</text>
我的关注
</view>
@@ -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;
})