update修改埋点中用户信息
This commit is contained in:
@@ -356,7 +356,7 @@ export default {
|
|||||||
console.log("data", data);
|
console.log("data", data);
|
||||||
if (data.data && data.data.success == true) {
|
if (data.data && data.data.success == true) {
|
||||||
this.data = data.data;
|
this.data = data.data;
|
||||||
this.setZwUserAplus(this.data.idCard);
|
this.setZwUserAplus(this.data.idCard, this.data.userName);
|
||||||
} else {
|
} else {
|
||||||
console.log("用户无数据,不展示");
|
console.log("用户无数据,不展示");
|
||||||
}
|
}
|
||||||
@@ -376,7 +376,7 @@ export default {
|
|||||||
gotoProject(type) {
|
gotoProject(type) {
|
||||||
this.$router.push({ name: "projectSelect", params: { type: type } });
|
this.$router.push({ name: "projectSelect", params: { type: type } });
|
||||||
},
|
},
|
||||||
setZwUserAplus(Userid) {
|
setZwUserAplus(Userid, userName) {
|
||||||
// 设置用户信息埋点
|
// 设置用户信息埋点
|
||||||
aplus_queue.push({
|
aplus_queue.push({
|
||||||
action: "aplus.setMetaInfo",
|
action: "aplus.setMetaInfo",
|
||||||
@@ -384,7 +384,7 @@ export default {
|
|||||||
});
|
});
|
||||||
aplus_queue.push({
|
aplus_queue.push({
|
||||||
action: "aplus.setMetaInfo",
|
action: "aplus.setMetaInfo",
|
||||||
arguments: ["_user_nick", this.data.userName], // this.userInfoData.username],
|
arguments: ["_user_nick", userName], // this.userInfoData.username],
|
||||||
});
|
});
|
||||||
aplus_queue.push({
|
aplus_queue.push({
|
||||||
action: "aplus.setMetaInfo",
|
action: "aplus.setMetaInfo",
|
||||||
|
|||||||
Reference in New Issue
Block a user