什么时机调用 wx.closeWindow?

企业微信 文章 2020-08-11 16:21 1518 0 全屏看文

AI助手支持GPT4.0

什么时机调用 wx.closeWindow?When is wx.closeWindow called?

什么时机调用 wx.closeWindow?

使用h5 唤起第三方应用后点击取消调用 wx.closeWindow 关闭当前h5 问下是否可以监听取消触发回调的api。

由于点击取消无法关闭当前页面所以需要手动写 wx.closeWindow的api,当没有合适的契机调用它

Use H5 to arouse the third-party application and click Cancel to call wx.closeWindow Close the current H5 and ask if you can listen to the API that cancels the trigger callback. Because you can't close the current page by clicking cancel, you need to write it manually wx.closeWindow When there is no appropriate opportunity to call it

回答:

Dream:

我之前也遇到了这个问题,最后还是没解决,同问怎么解决啊,有啥解决方案哦~

李胖:

怎么搞怎么搞,我的项目也卡在这个点了,跪求解决方案,在线等。。。


空:

我也遇到了这个问题,求大佬帮忙啊

-EOF-

AI助手支持GPT4.0