详细问题描述
(DCloud产品不会有明显的bug,所以你遇到的问题大都是在特定环境下才能重现的问题,请仔细描述你的环境和重现方式,否则DCloud很难排查解决你的问题)
[内容]
重现步骤
[步骤]
点击跳转webview公众号文章链接
[结果]
没有结果 空白的页面
[期望]
[如果语言难以表述清晰,拍一个视频或截图,有图有真相]
IDE运行环境说明
HBuilderX
[IDE版本号]
2.3.7.20191024
[windows版本号]
win10专业版
uni-app运行环境说明
h5
[运行端版本号]
HBuilderX
自定义组件模式
浏览器错误
Refused to display 'https://mp.weixin.qq.com/s/OpAFBOKIcp5pdm2bC3qcWQ' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' http://wx.qq.com https://wx.qq.com http://wx2.qq.com https://wx2.qq.com http://wx8.qq.com https://wx8.qq.com http://web.wechat.com https://web.wechat.com http://web1.wechat.com https://web1.wechat.com http://web2.wechat.com https://web2.wechat.com http://sticker.weixin.qq.com https://sticker.weixin.qq.com http://bang.qq.com https://bang.qq.com http://app.work.weixin.qq.com https://app.work.weixin.qq.com http://work.weixin.qq.com https://work.weixin.qq.com http://finance.qq.com https://finance.qq.com http://gu.qq.com https://gu.qq.com http://wzq.tenpay.com https://wzq.tenpay.com http://test.tcp.tencent.com https://test.tcp.tencent.com http://dev.tcp.tencent.com https://dev.tcp.tencent.com http://tcp.tencent.com https://tcp.tencent.com http://mail.qq.com https://mail.qq.com http://wx.mail.qq.com https://wx.mail.qq.com http://iwx.mail.qq.com https://iwx.mail.qq.com http://dev.mail.qq.com https://dev.mail.qq.com".
[App安装包或H5地址]
[可重现代码片段]
uni.navigateTo({
url:'/pages/home/link/link?url='+JSON.stringify(url.toPath)+'&name='+url.advName
})
onLoad: function(option) {
this.name = option.name
var src = JSON.parse(option.url)
this.src = src;
}
联系方式
[QQ]569214475
0 个回复