From 8b5d68592b81d1c1c6796f2cf25e08d84ee1c7ed Mon Sep 17 00:00:00 2001 From: kk <875203880@qq.com> Date: Mon, 13 Jul 2026 17:37:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E9=97=A8=E4=B8=AD=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E5=BC=80=E9=97=A8=E8=B6=85=E6=97=B6=E5=B9=B6?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/door-panel/door-panel.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/door-panel/door-panel.vue b/src/components/door-panel/door-panel.vue index b4f3d71..020788e 100644 --- a/src/components/door-panel/door-panel.vue +++ b/src/components/door-panel/door-panel.vue @@ -234,9 +234,11 @@ export default { await new Promise(resolve => setTimeout(resolve, interval)); } - // 超时 - this.step = ''; - uni.showToast({ title: '开门超时,请重试', icon: 'none' }); + // 轮询结束 + if (this.step === 'opening') { + this.step = ''; + uni.showToast({ title: '开门超时,请重试', icon: 'none' }); + } }, // 查询订单信息