mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-08 01:58:52 +08:00
fix: 🐛 修复 Tabbar 标签栏组件固定底部时不设置placeholder情况下仍占据相应空间的问题
This commit is contained in:
parent
d92eb8099e
commit
b58f9dfc82
@ -63,9 +63,9 @@ const props = withDefaults(defineProps<Props>(), {
|
|||||||
inactiveColor: '',
|
inactiveColor: '',
|
||||||
activeColor: '',
|
activeColor: '',
|
||||||
placeholder: false,
|
placeholder: false,
|
||||||
zIndex: 500
|
zIndex: 99
|
||||||
})
|
})
|
||||||
const height = ref<number>(50) // 占位高度
|
const height = ref<number | ''>('') // 占位高度
|
||||||
const parentData = reactive({
|
const parentData = reactive({
|
||||||
activeColor: props.activeColor,
|
activeColor: props.activeColor,
|
||||||
inactiveColor: props.inactiveColor,
|
inactiveColor: props.inactiveColor,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user