关于web-view在开发者工具上不显示的bug
wxml中:
<web-view src=’{{baseUrl}}’></web-view>
js中:
data: {
baseUrl: ‘’,
},
onLoad: function (options) {
this.setData({
baseUrl:‘https://www.travbao.com/goabraod/view/singaporeE-entry/index.html#/?userId=’ + getApp().globalData.userid + ‘&printPlace=’ + getApp().globalData.cityMes
})
},
页面再在开发者工具中不显示,预览时在手机上显示