根据官方文档 ,要实现webview与h5页面通信 需要下载uni.webview.1.5.6.js,将https://gitcode.net/dcloud/uni-app/-/raw/dev/dist/uni.webview.1.5.6.js 里的内容复制到一个新建的js中报错,正确的下载方式是什么
- 发布:2024-12-11 17:52
- 更新:2026-03-24 09:58
- 阅读:1132
最佳回复
蔡cai - 开发的插件:https://ask.dcloud.net.cn/article/41539
gitcode近期进行了改版。原gitcode.net仓库迁移到了gitcode.com,请使用以下链接。
https://gitcode.com/dcloud/uni-app/blob/master/dist/uni.webview.1.5.6.js
蔡cai - 开发的插件:https://ask.dcloud.net.cn/article/41539
https://gitcode.net/dcloud/uni-app/-/raw/dev/dist/uni.webview.1.5.4.js;打开页面,ctrl+s保存就好了
都是404了。谁有下载的地址啊?
Refused to execute script from 'https://raw.gitcode.com/dcloud/uni-app/raw/dev/dist/uni.webview.1.5.6.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.导入报错
yllaji - 80
https://raw.gitcode.com/dcloud/uni-app/raw/dev/dist/uni.webview.1.5.6.js 无法下载 求最新下载地址, 现在报 404
蔡cai
https://raw.gitcode.com/dcloud/uni-app/raw/dev/dist/uni.webview.1.5.6.js
2025-08-11 10:53