提交 1ddda81c 编写于 作者: fxy060608's avatar fxy060608

feat(v3): add isTab (webview.style)

上级 94730ea3
......@@ -80,7 +80,9 @@ export function createWebview (path, routeOptions, query) {
webviewStyle.uniPageUrl = getUniPageUrl(path, query)
if (process.env.NODE_ENV !== 'production') {
console.log('[uni-app] createWebview', webviewId, path, webviewStyle)
}
}
// android 需要使用
webviewStyle.isTab = !!routeOptions.meta.isTabBar
return plus.webview.create('', String(webviewId), webviewStyle, {
nvue: true
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册