Commit d592e97ba23f8d2a7f4b6ffeb3f420ee765e3973

Authored by 后端研发-苏泰源
2 parents 120ad929 006b4862

Merge branch 'dev' of http://git.vipzhuang.cn/wxd/MShopWeApp into dev

Showing 1 changed file with 4 additions and 5 deletions
pages/index/index/index.js
@@ -88,11 +88,10 @@ Page({ @@ -88,11 +88,10 @@ Page({
88 88
89 onLoad: async function (tt) { 89 onLoad: async function (tt) {
90 // onLoad生命周期内判断 90 // onLoad生命周期内判断
91 - let obj = wx.getLaunchOptionsSync()  
92 - if (obj.scene === 1011 ||  
93 - obj.scene === 1047 ||  
94 - obj.scene === 1089 ||  
95 - obj.scene === 1038) { 91 + let obj = wx.getLaunchOptionsSync();
  92 + console.log(obj.scene,'launch_scene');
  93 + if (obj.scene === 1011 || obj.scene === 1012 || obj.scene === 1013 || obj.scene === 1017 ||
  94 + obj.scene === 1047 ||obj.scene === 1089 || obj.scene === 1038) {
96 this.setData({is_ok_h5:1}) 95 this.setData({is_ok_h5:1})
97 } 96 }
98 97