Commit 006b4862796a4cdb1bcb6aca5ef8cc4bad40928e

Authored by yvan.ni
1 parent 7f7e0e9f

公众关注的组件

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