6

如何在退出微信小程序时触发事件(不是使用onShow和onHide函数的情况下)

 3 years ago
source link: https://www.oschina.net/question/4442225_2322176
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

如何在退出微信小程序时触发事件(不是使用onShow和onHide函数的情况下)

despacitoR 发布于 昨天 17:30

微信小程序右上角的关闭按钮没有事件,使用navigato标签也不能触发事件,有没有什么方法可以在js关闭小程序,这样就可以在关闭前处理逻辑(或者说可不可在js中去触发navigato标签点使用击动作)



despacitoR
最近登录:昨天 17:23
©OSCHINA(OSChina.NET)
开源软件推进联盟
指定官方社区

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK