浏览代码

feat: increase support for multiple time zones

 * 优化实现方法
zhongming4762 7 月之前
父节点
当前提交
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 timezoneRef = ref<null | string>(null);
+const timezoneRef = ref<string | undefined>();
 
 const timezoneOptionsRef = ref<
   {