提交 ff263179 编写于 作者: D DCloud_LXH

fix(app): webview

上级 3a727a60
此差异已折叠。
......@@ -93,7 +93,6 @@ export default {
}
},
mounted () {
this._onParentReady(() => {
this.htmlId = WEBVIEW_ID_PREFIX + this.$page.id
insertHTMLWebView({
htmlId: this.htmlId
......@@ -103,7 +102,6 @@ export default {
webviewStyles: this.webviewStyles
})
UniViewJSBridge.publishHandler(WEBVIEW_INSERTED, {}, this.$page.id)
})
},
beforeDestroy () {
removeHTMLWebView()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册