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,离线打包;失败为空数组不阻断)。 */