将tabbar相关代码从多个文件整合到统一目录结构 重命名tabbar相关文件以保持一致性 更新导入路径以匹配新的文件结构 添加README文档说明tabbar的不同实现策略
@@ -5,7 +5,7 @@
* 我这里应为大部分都可以随便进入,所以使用黑名单
*/
import { useUserStore } from '@/store'
-import { tabbarStore } from '@/tabbar/tabbar'
+import { tabbarStore } from '@/tabbar/store'
import { needLoginPages as _needLoginPages, getLastPage, getNeedLoginPages } from '@/utils'
// TODO Check
@@ -1,7 +1,7 @@
<script setup lang="ts">
-import { tabbarStore } from './tabbar'
// 'i-carbon-code',
-import { tabbarList as _tabBarList, cacheTabbarEnable, selectedTabbarStrategy, TABBAR_MAP } from './tabbarList'
+import { tabbarList as _tabBarList, cacheTabbarEnable, selectedTabbarStrategy, TABBAR_MAP } from './config'
+import { tabbarStore } from './store'
const customTabbarEnable
= selectedTabbarStrategy === TABBAR_MAP.CUSTOM_TABBAR_WITH_CACHE