|
|
@@ -7,7 +7,7 @@ export const TABBAR_STRATEGY = {
|
|
|
}
|
|
|
|
|
|
// TODO:通过这里切换使用tabbar的策略
|
|
|
-export const selectedTabbarStrategy = 0
|
|
|
+export const selectedTabbarStrategy = 1
|
|
|
export const cacheTabbarEnable = selectedTabbarStrategy < 2
|
|
|
|
|
|
// selectedTabbarStrategy==0 时,需要填 iconPath 和 selectedIconPath
|
|
|
@@ -27,6 +27,7 @@ export const tabbarList = [
|
|
|
pagePath: 'pages/about/about',
|
|
|
text: '关于',
|
|
|
icon: 'i-carbon-code',
|
|
|
+ // 注意 unocss 的图标需要在 页面上引入一下,或者配置到 unocss.config.ts 的 safelist 中
|
|
|
iconType: 'unocss',
|
|
|
},
|
|
|
// {
|