个人主页关注,跳转到指定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

@@ -93,7 +93,7 @@
export default{
components:{top,UcHeader,CaseList,CourseList,NoteList,PutList,AnswerList,ArticleList,FollowList,BookList},
computed: {
...mapGetters(['userInfo','majorTypeMap','orgDomainMap','attention']),
...mapGetters(['userInfo','majorTypeMap','orgDomainMap']),
},
data(){
return{
@@ -137,12 +137,11 @@
location.href=urlPre+process.env.VUE_APP_PUBLIC_PATH+this.$xpage.getHomePath(this.pageId);
}
},
attention(val) {
this.activeName = "7";
},
},
mounted() {
this.$bus.$on('followIndex',(num)=>{
this.activeName = "7";
})
},
methods:{
init(){