feat: 将 tabbar 使用到的 ts 类型全部提取到 types.ts 文件中,减少阅读干扰

This commit is contained in:
Utopia
2025-10-29 14:45:19 +08:00
parent b6415c8282
commit c54b4aebe0
4 changed files with 37 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
// i-carbon-code
import type { CustomTabBarItem } from './config'
import type { CustomTabBarItem } from './types'
import { customTabbarEnable, needHideNativeTabbar, tabbarCacheEnable } from './config'
import { tabbarList, tabbarStore } from './store'