提交 415c2bae 编写于 作者: 雪洛's avatar 雪洛

fix: App uni.setNavigationBarColor 无法改变返回按钮的颜色的Bug

上级 eaea6622
......@@ -56,6 +56,10 @@ export function setNavigationBarColor ({
plus.navigator.setStatusBarStyle(frontColor === '#000000' ? 'dark' : 'light')
const style = webview.getStyle()
if (style && style.titleNView) {
if (style.titleNView.autoBackButton) {
styles.backButton = styles.backButton || {}
styles.backButton.color = frontColor
}
webview.setStyle({
titleNView: styles
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册