我从服务通知进入小程序,然后发现程序没有进入onload和onshow这两个方法,我想问下各路大神,从服务通知里面进入小程序 他是走的一个什么流程?????
我从服务通知进入小程序,然后发现程序没有进入onload和onshow这两个方法?I entered the applet from the service notification, and then found that the program did not enter the onload and onshow methods?
我从服务通知进入小程序,然后发现程序没有进入onload和onshow这两个方法?我从服务通知进入小程序,然后发现程序没有进入onload和onshow这两个方法,我想问下各路大神,从服务通知里面进入小程序 他是走的一个什么流程?????
I enter the app from the service notification, and then I find that the app does not enter the onload and Onshow methods. I want to ask the gods, what is the process of entering the app from the service notification?????
回答:
没发现这个问题,页面中的初始化数据很多都是放在onload里的,要是不进入估计早都有人骂街了吧。
一样的吧,你通知里面肯定也是配的小程序url吧,先确认一下你的url配置的是否正确。
在onLoad里console.log(999)。如果找不到999,你才有资格说它不执行。
都不排查就瞎说结论,