Commit 72e05250 authored by 俞嘉婷's avatar 俞嘉婷

feat: 埋点接口也要在免登接口之后

parent f5d28e71
......@@ -37,6 +37,7 @@ ComponentWithStore({
console.log(res.code)
// 发送 res.code 到后台换取 openId, sessionKey, unionId
await dbLogin({code: res.code});
store.doLog(507, 10)
await this.updateHomeInfo();
const {channel, city} = this.options || {};
store.paramsObj = {channel, city};
......@@ -46,8 +47,10 @@ ComponentWithStore({
},
methods: {
async onShow() {
if (!this.data.isFirstIndex) {
store.doLog(507, 10)
if (!this.data.isFirstIndex) await this.updateHomeInfo();
await this.updateHomeInfo();
}
},
getPhoneNumber(e: any) {
console.log(e.detail)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment