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(); }); };