提交 572ee5cb 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

fix: 安卓适配 tabbar blurEffect

上级 304f5ae2
......@@ -7,8 +7,6 @@ import {
OnTabBarMidButtonTap,
} from '@dcloudio/uni-api'
const isIOS = plus.os.name === 'iOS'
let config: UniApp.TabBarOptions
/**
......@@ -210,7 +208,7 @@ export default {
// tabBar是否遮挡内容区域
get cover() {
const array = ['extralight', 'light', 'dark']
return isIOS && array.indexOf(config.blurEffect as string) >= 0
return array.indexOf(config.blurEffect as string) >= 0
},
setStyle({ mask }: { mask: string }) {
tabBar.setMask({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册