webview如何返回小程序?

小程序 文章 2021-03-30 16:02 465 0 全屏看文

AI助手支持GPT4.0

webview如何返回小程序?How does webview return to the applet?

webview如何返回小程序?

小程序跳转webview,可以正常打开页面,左上角导航栏有返回按钮,但是点击后无法一步返回到小程序,必须要拼命点多次才能返回,请问什么原因?

Small procedures jump WebView, you can normally open the page, the top left navigation bar has a return button, but after clicking, can not return to the small procedures step by step, you have to work hard to point many times to return, what is the reason?

回答:

社区技术运营专员-许涛:

你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)

peng:

是不是在webview中点了多次连接,比如A页面->B页面->C页面,此时和浏览器一样有历史,点回退先回到B,再点回到A。

★波涛★:有没有办法一次回到小程序上个页面
Brother斌🎈:

提供可复现代码片段

-EOF-

AI助手支持GPT4.0