gpt4 book ai didi

webview - 为什么在 super 应用程序中测试时 webview 显示 ‘no permission to load’ 错误?

转载 作者:行者123 更新时间:2023-12-04 13:08:07 25 4
gpt4 key购买 nike

我正在使用 webview 组件在我的小程序中呈现网页。在模拟器中,该组件按预期工作,但是,当我在我的 android 应用程序上测试它时,我得到了图像中显示的错误。 enter image description here

最佳答案

请检查您是否已在工作区的小程序配置部分中将您尝试访问的 URL 列入白名单。另请注意,模拟器支持显示本地托管的网页,但是,如果您想在设备上进行测试,则需要在线托管您的网站。

enter image description here

关于webview - 为什么在 super 应用程序中测试时 webview 显示 ‘no permission to load’ 错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68415044/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com