提交 e7126286 编写于 作者: Q qiang

fix(App): 解决 iOS 端 web-view 组件 title 为空时,返回按钮隐藏的问题

上级 a55bcd5c
......@@ -34,7 +34,8 @@ const insertHTMLWebView = ({
const title = webview.getTitle()
parentWebview.setStyle({
titleNView: {
titleText: (!title || title === 'null') ? '' : title
// iOS titleText 为空字符串时 按钮会隐藏
titleText: (!title || title === 'null') ? ' ' : title
}
})
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册