web-view加入wx:if判断,页面显示问题?

微信问答 文章 2021-12-07 11:20 672 0 全屏看文

AI助手支持GPT4.0

web-view加入wx:if判断,页面显示问题?Web-view added wx:if to judge, the page display problem?

web-view加入wx:if判断,页面显示问题?

web-view加入wx:if判断 为true时跳转网页 这个没问题

wx:if为false时 不跳转网页,显示当前页面内容,但是小程序页面不能滚动

怎么办???


Add Wx: if to the web view and jump to the web page when it is judged to be true. This is no problem. If Wx: if is false, do not jump to the web page and display the content of the current page, but what if the applet page cannot scroll???

鍥炵瓟锛�

社区技术运营专员-horanzhou:

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

brave:

提供下能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

微喵网络:

贴代码片段

中式小面包:

贴代码

-EOF-

AI助手支持GPT4.0