From c3f8b44b9a3bc5ed067b03c7874fc2d1c6a755e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E4=BD=B3=E5=AE=87?= <17601616548@163.com> Date: Wed, 23 Oct 2024 15:44:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E9=A2=84=E7=BA=A6=E6=97=B6?= =?UTF-8?q?=E5=8A=A0=E4=B8=8A=20=E5=8A=A0=E8=BD=BD=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- h5/pages/main/tjyy/tjyy.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/h5/pages/main/tjyy/tjyy.vue b/h5/pages/main/tjyy/tjyy.vue index 83434e9..bb6fd40 100755 --- a/h5/pages/main/tjyy/tjyy.vue +++ b/h5/pages/main/tjyy/tjyy.vue @@ -249,14 +249,12 @@ const getnmrList = async () => { const comfrimyy = async () => { let plan_id = ""; let plan_nmr_id = ""; - // if(!yytjInfo.value?.doctor_name){ - // uni.$lu.toast("请选择医生"); - // return; - // } + uni.showLoading(); console.log(yytjInfo.value?.nmr_list); for (let i = 0; i < yytjInfo.value?.nmr_list?.length; i++) { if (!yytjInfo.value?.nmr_list[i].id) { uni.$lu.toast("请完善预约时间"); + uni.hideLoading(); return; } } @@ -302,6 +300,7 @@ const comfrimyy = async () => { }); } } + uni.hideLoading(); }); };