mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
提交
This commit is contained in:
@@ -119,6 +119,7 @@
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
this.pageId = this.$xpage.getHomeId(this.$route);
|
||||
this.sex = this.userInfo.sex;
|
||||
// 判断路由是进入的学员默认页面就重置setCurIdentity
|
||||
@@ -131,6 +132,7 @@
|
||||
if(this.pageId !== this.userInfo.aid) {
|
||||
this.followHas();
|
||||
}
|
||||
|
||||
},
|
||||
methods:{
|
||||
cancelFollow() {
|
||||
|
||||
@@ -128,6 +128,9 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
|
||||
//this.orgInfo=cutFullName(testName,1);
|
||||
this.orgInfo=cutFullName(this.userInfo.departFullName,1);
|
||||
this.loadUserStat();
|
||||
this.$bus.$on('u-Currency',(num)=>{
|
||||
this.statData.uvalue = num;
|
||||
})
|
||||
|
||||
},
|
||||
methods:{
|
||||
|
||||
@@ -541,6 +541,7 @@
|
||||
apiStat.getUserStatTotalInfo(this.userInfo.aid).then(res => {
|
||||
if (res.status == 200) {
|
||||
this.uinfo.uCurrency = res.result.uvalue;
|
||||
this.$bus.$emit('u-Currency',res.result.uvalue)
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user