From c0e98675b8c20d029a2a7950c15acb323b1407ba Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Mon, 27 Oct 2025 15:54:56 +0800 Subject: [PATCH] feat:bug --- src/components/attendance-statistic/index.vue | 2 +- src/components/canteen-report.vue | 2 +- src/constant/table-constant.js | 2 +- src/views/canteen.vue | 2 +- src/views/nutrition.vue | 2 +- src/views/shop.vue | 4 +++- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/attendance-statistic/index.vue b/src/components/attendance-statistic/index.vue index d10029b..f34622a 100644 --- a/src/components/attendance-statistic/index.vue +++ b/src/components/attendance-statistic/index.vue @@ -54,7 +54,7 @@ const tabList = [ { label: "本月", value: "THIS_MONTH", component: MonthStatistics }, { label: "本年", value: "THIS_YEAR", component: YearStatistics }, ]; -const activeIndex = ref(0); +const activeIndex = ref(1); const activeKey = computed(() => tabList[activeIndex.value].value); const componentData = computed(() => { if (!props.data) { diff --git a/src/components/canteen-report.vue b/src/components/canteen-report.vue index 4444e76..cee80ec 100644 --- a/src/components/canteen-report.vue +++ b/src/components/canteen-report.vue @@ -56,7 +56,7 @@