From b1d7eca43521851dc1078f879e48969b6e82c404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=B9=8F?= Date: Tue, 18 Feb 2025 09:31:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=90=E6=97=B6=E4=BF=AE=E6=94=B9=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=BD=93=E5=89=8D=E6=97=B6=E9=97=B4=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/temporaryDate/temporaryDate.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/temporaryDate/temporaryDate.vue b/pages/temporaryDate/temporaryDate.vue index 3474f30..508e8f6 100644 --- a/pages/temporaryDate/temporaryDate.vue +++ b/pages/temporaryDate/temporaryDate.vue @@ -133,6 +133,14 @@ return } + if (endDate.value <= new Date().getTime()) { + uni.showToast({ + title: '失效时间需晚于当前时间', + icon: 'none' + }) + return + } + if (pending.value) { return }