// 计算tabs的显示
const actions = computed(() => {
let value: Record<string, bottomTabsType> = {
'1': incomeTabs,
'2': expenditureTabs,
'3': [],
}
return value[bottomIns.value]
})
vue3使用computed做枚举计算
最新推荐文章于 2024-07-22 15:19:55 发布