瀏覽代碼

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

skyline 3 周之前
父節點
當前提交
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) {