From 5fc0e4f1d931eb9c3f50d25190d3e348b14ec796 Mon Sep 17 00:00:00 2001 From: wanganxp Date: Mon, 23 Sep 2019 19:04:52 +0800 Subject: [PATCH] Update web-view.md --- docs/component/web-view.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/component/web-view.md b/docs/component/web-view.md index e3fb5f91d..d7ac465bb 100644 --- a/docs/component/web-view.md +++ b/docs/component/web-view.md @@ -203,6 +203,7 @@ export default { // #ifdef APP-PLUS wv = plus.webview.create("","custom-webview",{ plusrequire:"none", //禁止远程网页使用plus的API,有些使用mui制作的网页可能会监听plus.key,造成关闭页面混乱,可以通过这种方式禁止 + 'uni-app': 'none', //不加载uni-app渲染层框架,避免样式冲突 top:uni.getSystemInfoSync().statusBarHeight+44 //放置在titleNView下方。如果还想在webview上方加个地址栏的什么的,可以继续降低TOP值 }) wv.loadURL("https://www.baidu.com") -- GitLab