From cbc313e8c5932fb4b0cf1fc396cf41ee453f0a1e Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Mon, 10 Mar 2025 22:51:36 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3207=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E4=BE=9B=E5=BA=94=E5=95=86?= =?UTF-8?q?=E5=85=A5=E9=A9=BB=E9=A1=B5=E9=9D=A2=E2=80=94=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=90=A5=E4=B8=9A=E6=97=B6=E9=97=B4=E5=90=8E=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E3=80=90=E5=8F=96=E6=B6=88=E3=80=91=E6=8C=89=E9=92=AE=EF=BC=8C?= =?UTF-8?q?=E8=90=A5=E4=B8=9A=E6=97=B6=E9=97=B4=E4=B9=9F=E4=BC=9A=E8=A2=AB?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/tpf-time-range/tpf-time-range.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/tpf-time-range/tpf-time-range.vue b/components/tpf-time-range/tpf-time-range.vue index ab34330..30f14d7 100644 --- a/components/tpf-time-range/tpf-time-range.vue +++ b/components/tpf-time-range/tpf-time-range.vue @@ -113,6 +113,10 @@ export default{ this.$refs.popup.open(); }, closePopup(action=""){ + if(action == "cancel"){ + this.$refs.popup.close(); + return false; + } if(this.compareTwoTimeRange(this.startDefaultTimeArr , this.endDefaultTimeArr)){ uni.showToast({ title:"开始时间不能大于结束时间",