提交 398690aa 编写于 作者: fxy060608's avatar fxy060608

fix(h5): navigation-bar

上级 6d6b6948
...@@ -19,7 +19,7 @@ function setNavigationBar (type, args) { ...@@ -19,7 +19,7 @@ function setNavigationBar (type, args) {
if (frontColor) { if (frontColor) {
page.navigationBar.textColor = frontColor === '#000000' ? 'black' : 'white' page.navigationBar.textColor = frontColor === '#000000' ? 'black' : 'white'
UniServiceJSBridge.emit('onNavigationBarChange', { UniServiceJSBridge.emit('onNavigationBarChange', {
textColor: page.navigationBar.textColor textColor: frontColor === '#000000' ? '#000' : '#fff'
}) })
} }
if (backgroundColor) { if (backgroundColor) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册