fix: 🐛 修复 Tabbar 标签栏组件固定底部时不设置placeholder情况下仍占据相应空间的问题

This commit is contained in:
xuqingkai 2023-10-13 10:57:17 +08:00 committed by weisheng
parent d92eb8099e
commit b58f9dfc82

View File

@ -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,