mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-24 02:02:53 +08:00
个人主页关注,跳转到指定tab
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user