个人主页关注,跳转到指定tab

This commit is contained in:
zhaofang
2022-10-22 11:40:51 +08:00
parent 5d947a555d
commit 0879df5fe2
7 changed files with 22 additions and 20 deletions

View File

@@ -142,6 +142,10 @@ import apiUser from "@/api/system/user.js";
},
mounted() {
this.pageId = this.$xpage.getHomeId(this.$route);
this.$bus.$on('followIndex',(num)=>{
console.log(num,'num');
this.active = num;
})
},
methods:{
resetActive(){