From 7357b0548f9fa9437eea30b0a7cdc8f3da5eca87 Mon Sep 17 00:00:00 2001 From: aihe <961836564@qq.com> Date: Sun, 28 Jan 2024 09:22:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/tpx-date-input/tpx-date-input.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tpx-date-input/tpx-date-input.vue b/components/tpx-date-input/tpx-date-input.vue index 154aeb4..278a3d1 100644 --- a/components/tpx-date-input/tpx-date-input.vue +++ b/components/tpx-date-input/tpx-date-input.vue @@ -108,7 +108,7 @@ if(val == -1) { this.handleSwitchCladar() } else { - this.handleChange([dayjs().format("YYYY-MM-DD"), val]) + this.handleChange([val, dayjs().format("YYYY-MM-DD")]) } } }