From c6698acb03223a1844e3eb3dc7285169a662b550 Mon Sep 17 00:00:00 2001 From: XaoLi717 <144221124+XaoLi717@users.noreply.github.com> Date: Tue, 10 Dec 2024 11:54:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=8E=86=E4=BC=98=E5=8C=96buttonType?= =?UTF-8?q?=3Dtxt=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/calendar/index.vue | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/views/system/calendar/index.vue b/src/views/system/calendar/index.vue index 3b9bea2..c59715c 100644 --- a/src/views/system/calendar/index.vue +++ b/src/views/system/calendar/index.vue @@ -23,7 +23,6 @@
{{ month }}
- + {{ dict.label }} @@ -148,14 +147,14 @@ const formDataCaln = ref({ /** 查询列表 */ const getListDate = async () => { - loading.value = false + loading.value = false; try { - const data = await CalendarApi.getCalendarPage(queryParamsDate) - list.value = data.list - mapDate() - total.value = data.total + const data = await CalendarApi.getCalendarPage(queryParamsDate); + list.value = data.list; + mapDate(); + total.value = data.total; } finally { - loading.value = true + loading.value = true; } }