From d2c603566bb7a4f87074651659565734c98d0b07 Mon Sep 17 00:00:00 2001 From: xiangsilian Date: Thu, 3 Sep 2026 21:52:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(fitting):=20=E6=88=91=E7=9A=84=E8=A1=A3?= =?UTF-8?q?=E6=A9=B1=E4=B8=BA=E7=A9=BA=E6=97=B6=E9=BB=98=E8=AE=A4=E6=89=93?= =?UTF-8?q?=E5=BC=80=E7=B2=BE=E9=80=89=E8=A1=A3=E6=A9=B1=E2=80=94=E2=80=94?= =?UTF-8?q?=E9=A6=96=E6=AC=A1=E7=94=A8=E6=88=B7=E7=9B=B4=E6=8E=A5=E7=9C=8B?= =?UTF-8?q?=E5=88=B0=2030=20=E4=BB=B6=E5=8F=AF=E8=AF=95=E8=A1=A3=E6=9C=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/entry/src/main/ets/pages/FittingRoomPage.ets | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/entry/src/main/ets/pages/FittingRoomPage.ets b/app/entry/src/main/ets/pages/FittingRoomPage.ets index 837e6f7..54b7da0 100644 --- a/app/entry/src/main/ets/pages/FittingRoomPage.ets +++ b/app/entry/src/main/ets/pages/FittingRoomPage.ets @@ -118,6 +118,10 @@ struct FittingRoomPage { private async hydrateWardrobe(): Promise { await WardrobeStore.init() this.items = WardrobeStore.list() + // 我的衣橱为空时默认打开精选衣橱:首次用户直接看到 30 件可试的衣服,不觉得『没衣服』 + if (this.items.length === 0) { + this.clothTab = 1 + } } /** 精选衣橱加载(rawfile manifest,离线打包;失败为空数组不阻断)。 */