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

fix: 补充timeGroups计算属性,修复时间选择网格空白

skyline 3 недель назад
Родитель
Сommit
af4ea8618f
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      charge-front/src/pages-charge/appointment/appointment.vue

+ 1 - 0
charge-front/src/pages-charge/appointment/appointment.vue

@@ -504,6 +504,7 @@ const buildTimeOptions = () => {
 };
 
 const selected = computed(() => timesInfo.value.flat[selectedTs.value]);
+const timeGroups = computed(() => timesInfo.value.groups);
 
 const pickOption = (opt: any) => {
   if (opt.disabled) {