From 0de235c1aa1078246401e6151276bcfdfd259724 Mon Sep 17 00:00:00 2001 From: kola-web Date: Wed, 11 Feb 2026 18:30:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=8C=BB=E9=99=A2bug?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/patient/pages/medical/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/patient/pages/medical/index.ts b/src/patient/pages/medical/index.ts index dbe56af..8992eaf 100644 --- a/src/patient/pages/medical/index.ts +++ b/src/patient/pages/medical/index.ts @@ -204,11 +204,12 @@ Page({ }, handleHosSure() { const { hostipalList, hIndex } = this.data - if (!hIndex) { + if (hIndex === '') { wx.showToast({ icon: 'none', title: '请选择医院', }) + return } const hItem = hostipalList[hIndex] this.setData({