From 79a0db2127a219453a1eed9e64c6460e34ebd2f9 Mon Sep 17 00:00:00 2001 From: laishajiang <12977614+laishajiang@user.noreply.gitee.com> Date: Wed, 17 Apr 2024 16:54:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=AB=AF=E8=8A=82=E5=81=87?= =?UTF-8?q?=E6=97=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HolidayList.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/HolidayList.vue b/src/components/HolidayList.vue index 559858d..5c667ad 100644 --- a/src/components/HolidayList.vue +++ b/src/components/HolidayList.vue @@ -93,6 +93,12 @@ const searchHoliday = () => { const refreshHoliday = () => { + console.log("currenYear.value"+currenYear.value); + if (currenYear.value == "") { + ElMessage.info('请输入年份') + loading.value = false; + return; + } loading.value = true; const url = VITE_API_URL +'/outer/holiday/refresh-holiday' request({