微信小程序报web-view错没法读取appId:Cannot read property 'appId' of undefinedweb
我之前一直以下写代码没报错也都是能够使用的,而且小程序之前访问该连接是能够访问到的,可前几天忽然报错,不知道怎么解决了小程序
wxml
:微信小程序
<view class="item" bindtap="bindViewTap">点击跳转</view>
js
:微信
// 点击查看详情 handleClickArticle: function () { wx.navigateTo({ url: '/pages/index/weixinlink/weixinlink' // url: '../logs/logs' }) },
web-view
:app
<web-view src="https://mp.weixin.qq.com/s/p5pp8MHMgY9AvZ-xOBpspw"></web-view>
VM578:1 Fri Sep 27 2019 23:51:04 GMT+0800 (中国标准时间) 渲染层错误 VM512:1 webviewScriptError Cannot read property 'appId' of undefined;[Exparser] [Error] [Component] Property Observer Error @ wx-web-view#srcChange TypeError: Cannot read property 'appId' of undefined at n.srcChange (WAWebview.js:1:992375) at Function.i.safeCallback (WAWebview.js:1:139753) at n.<anonymous> (WAWebview.js:1:231733) at a.doUpdates (WAWebview.js:1:247526) at e (WAWebview.js:1:1275403) at s (WAWebview.js:1:1278086) at e (WAWebview.js:1:1263511) at e (WAWebview.js:1:1263642) at e.value (WAWebview.js:1:1232540) at O._advancedCreate (WAWebview.js:1:238474)
VM579:1 Fri Sep 27 2019 23:51:04 GMT+0800 (中国标准时间) 渲染层错误 VM512:1 TypeError: Cannot read property 'appId' of undefined at n.srcChange (:39730/appservice/WAWebview.js:1) at Function.i.safeCallback (:39730/appservice/WAWebview.js:1) at n.<anonymous> (:39730/appservice/WAWebview.js:1) at a.doUpdates (:39730/appservice/WAWebview.js:1) at e (:39730/appservice/WAWebview.js:1) at s (:39730/appservice/WAWebview.js:1) at e (:39730/appservice/WAWebview.js:1) at e (:39730/appservice/WAWebview.js:1) at e.value (:39730/appservice/WAWebview.js:1) at O._advancedCreate (:39730/appservice/WAWebview.js:1)
我也不知道,感受就是一个坑;我用真机调试又是OK的,没什么问题。
url