From 86c96401ad663af45aa9f529462ab2e65c640f0e Mon Sep 17 00:00:00 2001 From: yanzai Date: Mon, 11 Aug 2025 09:22:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=99=BB=E5=BD=95=E9=A1=B5?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=EF=BC=8C=E5=A2=9E=E5=8A=A0=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 滦平县报告对比/pages/main/home/home.vue | 104 +++++++++++++++++++++++- 1 file changed, 102 insertions(+), 2 deletions(-) diff --git a/滦平县报告对比/pages/main/home/home.vue b/滦平县报告对比/pages/main/home/home.vue index d6943f4..39ea95c 100644 --- a/滦平县报告对比/pages/main/home/home.vue +++ b/滦平县报告对比/pages/main/home/home.vue @@ -23,14 +23,18 @@ const id_number = ref('') const phone=ref('') const toPage = () => { + if(id_number.value.length===0 || phone.value.length===0){ + uni.$lu.toast("请输入身份证和电话"); + return false; + } uni.navigateTo({ url: `/pages/main/list/list?hospital=4&id_number=${id_number.value}&phone=${phone.value}` }) } \ No newline at end of file