提交 0b44e641 编写于 作者: Q qiang

fix: 修正 iOS tabBar 高度获取

上级 002c27c4
...@@ -167,8 +167,7 @@ export default { ...@@ -167,8 +167,7 @@ export default {
// tabBar是否遮挡内容区域 // tabBar是否遮挡内容区域
get cover () { get cover () {
const array = ['extralight', 'light', 'dark'] const array = ['extralight', 'light', 'dark']
// 设置背景颜色会失效 return isIOS && array.indexOf(config.blurEffect) >= 0
return isIOS && array.indexOf(config.blurEffect) >= 0 && !config.backgroundColor
}, },
setStyle ({ mask }) { setStyle ({ mask }) {
tabBar.setMask({ tabBar.setMask({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册