tomzhao
tomzhao
  • 发布:2020-04-12 23:53
  • 更新:2020-04-13 14:38
  • 阅读:1338

微信小程序webview内置h5页面显示网络不给力

分类:uni-app

h5及其他小程序平台未出现此问题,只有微信小程序webview 访问 https://m.poizon.com/router/product/BoutiqueRecommendDetailPage?recommendId=2
时大概率复现,复现时经调试报错如图

IDE运行环境说明

vs code

[IDE版本号]
version 1.42

[mac版本号]
10.14.6

uni-app运行环境说明

微信小程序

[运行端版本号]
稳定版 Stable Build (1.02.2004020)

[项目是cli创建的还是HBuilderX创建的?如果是cli创建的,请更新到最新版cli再试]
cli 尝试更新最新版,还是复现此问题

[编译模式说明:自定义组件模式?纯nvue模式?v3模式?]
自定义组件

[iOS版本号]
13.3

[手机型号]
8p

附件

[可重现代码片段]
"dependencies": {
"@core/analytics": "^1.0.15",
"@dcloudio/uni-app-plus": "2.0.0-24220191115011",
"@dcloudio/uni-h5": "2.0.0-24220191115011",
"@dcloudio/uni-helper-json": "",
"@dcloudio/uni-mp-alipay": "2.0.0-24220191115011",
"@dcloudio/uni-mp-baidu": "2.0.0-24220191115011",
"@dcloudio/uni-mp-qq": "2.0.0-24220191115011",
"@dcloudio/uni-mp-toutiao": "2.0.0-24220191115011",
"@dcloudio/uni-mp-weixin": "2.0.0-24220191115011",
"@dcloudio/uni-stat": "2.0.0-24220191115011",
"consolidate": "^0.15.1",
"flyio": "^0.6.2",
"regenerator-runtime": "^0.12.1",
"vue": "^2.6.11",
"vuex": "^3.0.1"
...
},
"devDependencies": {
"@dcloudio/uni-cli-shared": "2.0.0-24220191115011",
"@dcloudio/uni-template-compiler": "2.0.0-24220191115011",
"@dcloudio/vue-cli-plugin-hbuilderx": "2.0.0-24220191115011",
"@dcloudio/vue-cli-plugin-uni": "2.0.0-24220191115011",
"@dcloudio/vue-cli-plugin-uni-optimize": "2.0.0-24220191115011",
"@dcloudio/webpack-uni-mp-loader": "2.0.0-24220191115011",
"@dcloudio/webpack-uni-pages-loader": "2.0.0-24220191115011",
"@types/html5plus": "
",
"@types/uni-app": "",
"@vue/cli-plugin-babel": "3.12.1",
"@vue/cli-service": "3.12.1",
"babel-eslint": "^10.0.3",
"babel-plugin-import": "^1.11.0",
"mini-types": "
",
"miniprogram-api-typings": "^2.9.4",
"node-sass": "^4.13.0",
"postcss-comment": "^2.0.0",
"sass-loader": "^8.0.0",
"url-search-params": "^1.1.0",
"vue-template-compiler": "^2.6.11"
...

联系方式

735361660

2020-04-12 23:53 负责人:无 分享
已邀请:
tomzhao

tomzhao (作者)

已确认问题是h5加载了微信js-sdk导致

要回复问题请先登录注册