Commit d0bd56ec by 李嘉林

报错处理

parent 1f50d33a
......@@ -87,7 +87,7 @@ export default {
await this.getShopInfo(this.extConfig);
// 页面配置信息
this.getThemePage(this.extConfig);
// this.getThemePage(this.extConfig);
let mpApp = getApp();
console.log(mpApp, "this.mpApp");
mpApp.getShopInfo = this.getShopInfo
......
......@@ -476,7 +476,7 @@ export default {
// 商品分享进入 (卡片分享、扫码、点击小程序链接)
if (this.newPageUrl.includes('/goods/') && (options.share || options.share_copy)) {
log.info("存入商品分享日志", this.newPageUrl);
this.saveSpokesmanShareGoodsLog(this.newPageUrl);
this.saveSpokesmanShareGoodsLog({link: this.newPageUrl, type: 2});
}
this.init();
},
......@@ -487,6 +487,7 @@ export default {
},
methods: {
init() {
console.log('index-init', this.mpApp.globalData.pageList);
if (!this.mpApp.globalData.pageList) {
app.getThemePage(this.$store.state.extConfig);
}
......@@ -675,6 +676,7 @@ export default {
goods.saveSpokesmanShareGoodsLog(query);
},
getQueryVariableNotNull(link, key) {
console.log('getQueryVariableNotNull', link, key)
let val = getQueryVariable(link, key);
if (val && val != 'undefined') {
return val;
......
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