From bd70414d845cf0379dcc39e6caf8ab7717382924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=20=E8=8C=83?= Date: Wed, 15 Sep 2021 09:43:27 +0800 Subject: [PATCH 1/2] update --- FrontCode2/sunshine_levy/src/views/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FrontCode2/sunshine_levy/src/views/index.vue b/FrontCode2/sunshine_levy/src/views/index.vue index 615387e..21f626b 100644 --- a/FrontCode2/sunshine_levy/src/views/index.vue +++ b/FrontCode2/sunshine_levy/src/views/index.vue @@ -356,6 +356,7 @@ export default { console.log("data", data); if (data.data && data.data.success == true) { this.data = data.data; + this.setZwUserAplus(this.data.idCard); } else { console.log("用户无数据,不展示"); } @@ -383,7 +384,7 @@ export default { }); aplus_queue.push({ action: "aplus.setMetaInfo", - arguments: ["_user_nick", this.userInfoData.username], + arguments: ["_user_nick", this.data.userName], // this.userInfoData.username], }); aplus_queue.push({ action: "aplus.setMetaInfo", From c85eb5164c58a8ea02c0c387e3c3b4bdcbaddddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=20=E8=8C=83?= Date: Wed, 15 Sep 2021 09:46:03 +0800 Subject: [PATCH 2/2] =?UTF-8?q?update=E4=BF=AE=E6=94=B9=E5=9F=8B=E7=82=B9?= =?UTF-8?q?=E4=B8=AD=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontCode2/sunshine_levy/src/views/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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",