diff --git a/apps/web-antd/src/store/user-profile.ts b/apps/web-antd/src/store/user-profile.ts
index 0fd21569..6c552e4f 100644
--- a/apps/web-antd/src/store/user-profile.ts
+++ b/apps/web-antd/src/store/user-profile.ts
@@ -38,7 +38,9 @@ const useUserProfileStore = defineStore('user-profile', () => {
}
}
- initTimezone();
+ initTimezone().catch((error) => {
+ console.error('Failed to initialize timezone during store setup:', error);
+ });
return {
timezone: timezoneRef,
diff --git a/apps/web-ele/src/store/user-profile.ts b/apps/web-ele/src/store/user-profile.ts
index 0fd21569..6c552e4f 100644
--- a/apps/web-ele/src/store/user-profile.ts
+++ b/apps/web-ele/src/store/user-profile.ts
@@ -38,7 +38,9 @@ const useUserProfileStore = defineStore('user-profile', () => {
}
}
- initTimezone();
+ initTimezone().catch((error) => {
+ console.error('Failed to initialize timezone during store setup:', error);
+ });
return {
timezone: timezoneRef,
diff --git a/apps/web-naive/src/store/user-profile.ts b/apps/web-naive/src/store/user-profile.ts
index 0fd21569..6c552e4f 100644
--- a/apps/web-naive/src/store/user-profile.ts
+++ b/apps/web-naive/src/store/user-profile.ts
@@ -38,7 +38,9 @@ const useUserProfileStore = defineStore('user-profile', () => {
}
}
- initTimezone();
+ initTimezone().catch((error) => {
+ console.error('Failed to initialize timezone during store setup:', error);
+ });
return {
timezone: timezoneRef,
diff --git a/packages/effects/layouts/src/widgets/timezone/timezone-button.vue b/packages/effects/layouts/src/widgets/timezone/timezone-button.vue
index 11798ed5..5a1c8318 100644
--- a/packages/effects/layouts/src/widgets/timezone/timezone-button.vue
+++ b/packages/effects/layouts/src/widgets/timezone/timezone-button.vue
@@ -70,7 +70,7 @@ const handleClickItem = (timezone: string) => {
@click="handleClickItem(item)"
>
-
+
@@ -79,7 +79,7 @@ const handleClickItem = (timezone: string) => {