diff --git a/FrontCode2/sunshine_levy/src/views/index.vue b/FrontCode2/sunshine_levy/src/views/index.vue index 21f626b..f46b442 100644 --- a/FrontCode2/sunshine_levy/src/views/index.vue +++ b/FrontCode2/sunshine_levy/src/views/index.vue @@ -356,7 +356,7 @@ export default { console.log("data", data); if (data.data && data.data.success == true) { this.data = data.data; - this.setZwUserAplus(this.data.idCard); + this.setZwUserAplus(this.data.idCard, this.data.userName); } else { console.log("用户无数据,不展示"); } @@ -376,7 +376,7 @@ export default { gotoProject(type) { this.$router.push({ name: "projectSelect", params: { type: type } }); }, - setZwUserAplus(Userid) { + setZwUserAplus(Userid, userName) { // 设置用户信息埋点 aplus_queue.push({ action: "aplus.setMetaInfo", @@ -384,7 +384,7 @@ export default { }); aplus_queue.push({ action: "aplus.setMetaInfo", - arguments: ["_user_nick", this.data.userName], // this.userInfoData.username], + arguments: ["_user_nick", userName], // this.userInfoData.username], }); aplus_queue.push({ action: "aplus.setMetaInfo",