Commit f6916c7c by 张卓

门店id埋点

parent 9a7ddfa6
......@@ -75,6 +75,10 @@ export default {
}
},
onLoad(options) {
if(wx.getStorageSync("sessionid")) {
//清空门店id
wx.setStorageSync(this.$store.state.mixid+'storeId','')
}
this.options = options;
Object.assign(this.$data, this.$options.data());
console.log(
......@@ -192,6 +196,7 @@ export default {
this.page = res.data.data.pageUri;
let paramsObj = JSON.parse(res.data.data.scene);
wx.setStorageSync('attractingCustomerChannelId',paramsObj.attractingCustomerChannelId)
wx.setStorageSync(this.$store.state.mixid+'storeId',paramsObj.storeId)
console.log(res.data.data)
console.log(wx.getStorageSync("openid"))
console.log(333333)
......
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