From 688f375d797b58919b1ac761f2c6287b733fd5cc Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Thu, 21 Aug 2025 11:29:38 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor(uno.config):=20=E7=A7=BB=E9=99=A4p?= =?UTF-8?q?resetUni=E7=9A=84=E6=B3=A8=E9=87=8A=E9=85=8D=E7=BD=AE=E5=B9=B6?= =?UTF-8?q?=E7=AE=80=E5=8C=96=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uno.config.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/uno.config.ts b/uno.config.ts index 91a4a7e..9fcce48 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -10,12 +10,7 @@ import { export default defineConfig({ presets: [ - presetUni({ - // attributify: { - // // prefix: 'fg-', // 如果加前缀,则需要在代码里面使用 `fg-` 前缀,如:
- // prefixedOnly: true, - // }, - }), + presetUni(), presetIcons({ scale: 1.2, warn: true, From 2d68168a23ceae4b127e8b489c1c3482483ea223 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Thu, 21 Aug 2025 14:54:24 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(tabbar):=20=E4=BF=AE=E5=A4=8D=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89tabbar=E5=88=97=E8=A1=A8=E6=98=A0=E5=B0=84?= =?UTF-8?q?=E6=97=B6=E7=BC=BA=E5=B0=91=E5=AD=97=E6=AE=B5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tabbar/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabbar/config.ts b/src/tabbar/config.ts index 91eeac6..8a28010 100644 --- a/src/tabbar/config.ts +++ b/src/tabbar/config.ts @@ -110,7 +110,7 @@ export const customTabbarEnable */ export const needHideNativeTabbar = selectedTabbarStrategy === TABBAR_STRATEGY_MAP.CUSTOM_TABBAR_WITH_CACHE -export const tabbarList = customTabbarEnable ? customTabbarList : nativeTabbarList +export const tabbarList = customTabbarEnable ? customTabbarList.map(item => ({ text: item.text, pagePath: item.pagePath })) : nativeTabbarList const _tabbar: TabBar = { // 只有微信小程序支持 custom。App 和 H5 不生效