From 321b4cd1e61bbedcd9f84b4efa3f19b10b92c21e Mon Sep 17 00:00:00 2001 From: yanzai Date: Sat, 8 Feb 2025 17:25:24 +0800 Subject: [PATCH] bug --- h5/pages/main/tj/tjzx.vue | 2 +- h5/pages/main/tj/tjzx_new.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/h5/pages/main/tj/tjzx.vue b/h5/pages/main/tj/tjzx.vue index 5b75db9..d95b994 100644 --- a/h5/pages/main/tj/tjzx.vue +++ b/h5/pages/main/tj/tjzx.vue @@ -101,7 +101,7 @@ const getBuyInfo = async () => { }); let obj = { item_ids: selectIds.value, - hospital: $store.save_info.hospital, + hospital: $store.save_info?.hospital?$store.save_info?.hospital:1, person_id: personId.value, group_id: groupId.value, combo_id: comboId.value, diff --git a/h5/pages/main/tj/tjzx_new.vue b/h5/pages/main/tj/tjzx_new.vue index 8f5c8dd..2c52d94 100644 --- a/h5/pages/main/tj/tjzx_new.vue +++ b/h5/pages/main/tj/tjzx_new.vue @@ -114,7 +114,7 @@ }); let obj = { item_ids: selectIds.value, - hospital: $store.save_info.hospital, + hospital: $store.save_info?.hospital?$store.save_info?.hospital:1, person_id: personId.value, group_id: groupId.value, combo_id: comboId.value,