Commit 7f7e0e9f2cf9529e0b05fe4963981c359ba4ab4d

Authored by yvan.ni
1 parent 90eb2793

打个日志

Showing 1 changed file with 2 additions and 1 deletions
pages/index/index/index.js
@@ -88,7 +88,8 @@ Page({ @@ -88,7 +88,8 @@ Page({
88 88
89 onLoad: async function (tt) { 89 onLoad: async function (tt) {
90 // onLoad生命周期内判断 90 // onLoad生命周期内判断
91 - let obj = wx.getLaunchOptionsSync() 91 + let obj = wx.getLaunchOptionsSync();
  92 + console.log(obj.scene,'launch_scene');
92 if (obj.scene === 1011 || 93 if (obj.scene === 1011 ||
93 obj.scene === 1047 || 94 obj.scene === 1047 ||
94 obj.scene === 1089 || 95 obj.scene === 1089 ||