From c2463c02a17f92df55ec77ed2da3fb724290c072 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 20 十月 2025 17:34:30 +0800
Subject: [PATCH] fix: bug
---
apps/cMiniApp/src/stores/modules/user.ts | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/apps/cMiniApp/src/stores/modules/user.ts b/apps/cMiniApp/src/stores/modules/user.ts
index f2c2654..cf8e0bf 100644
--- a/apps/cMiniApp/src/stores/modules/user.ts
+++ b/apps/cMiniApp/src/stores/modules/user.ts
@@ -33,6 +33,7 @@
refreshToken?: Nullable<string>;
userDetail?: Nullable<API.GetPersonalLoginInfoQueryResult>;
firstGetUserDetail?: boolean;
+ firstLaunch?: boolean;
locationCity?: string;
locationProvince?: string;
@@ -71,6 +72,7 @@
refreshToken: userInfo?.refreshToken ?? '',
userDetail: userDetail,
firstGetUserDetail: true,
+ firstLaunch: true,
locationCity: storageLocation?.city ?? '鍖椾含甯�',
locationProvince: storageLocation?.province ?? '鍖椾含',
firstSetLocation: true,
@@ -277,6 +279,10 @@
// }
LocationUtils.currentProvinceName = provinceName;
},
+
+ setFirstLaunch(firstLaunch: boolean) {
+ this.firstLaunch = firstLaunch;
+ },
},
});
--
Gitblit v1.9.1