Просмотр исходного кода

feat: increase support for multiple time zones

 * 优化实现方法
zhongming4762 7 месяцев назад
Родитель
Сommit
212144feca
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/effects/layouts/src/widgets/timezone/timezone-button.vue

+ 1 - 1
packages/effects/layouts/src/widgets/timezone/timezone-button.vue

@@ -16,7 +16,7 @@ const TimezoneIcon = createIconifyIcon('fluent-mdl2:world-clock');
 
 
 const timezoneStore = useTimezoneStore();
 const timezoneStore = useTimezoneStore();
 
 
-const timezoneRef = ref<null | string>(null);
+const timezoneRef = ref<string | undefined>();
 
 
 const timezoneOptionsRef = ref<
 const timezoneOptionsRef = ref<
   {
   {