Small micro-channel program prompts appId Jump web-vie can not read: Can not read property 'appId' of undefined

Micro-channel message applet web-view dislocation can not read appId: Can not read property 'appId' of undefined

Problem Description:

I've been writing code below can be used are also not being given, and the applet before this link is access to a few days ago may suddenly being given, I do not know how to solve

My code is as follows:

wxml

  <view class="item" bindtap="bindViewTap">点击跳转</view>

js

  // 点击查看详情
  handleClickArticle: function () {
    wx.navigateTo({
      url: '/pages/index/weixinlink/weixinlink'
      //  url: '../logs/logs'
    })
  },

web-view

<web-view src="https://mp.weixin.qq.com/s/p5pp8MHMgY9AvZ-xOBpspw"></web-view>

Given the information as follows:

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)

Screenshot shows:


solution:

I do not know, the feeling is a pit; I use the on-device debugging and is OK, no problem.

Guess you like

Origin www.cnblogs.com/mmzs/p/11601079.html