From 06b9dce22c9b60ae34c6dc1c03f06a871b1969bb Mon Sep 17 00:00:00 2001 From: sa0ChunLuyu Date: Thu, 10 Oct 2024 09:24:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20WEB=E7=99=BB=E8=AE=B0=20?= =?UTF-8?q?=E8=87=AA=E9=80=89=E9=A1=B9=E7=9B=AE=20=E6=94=BE=E5=88=B0?= =?UTF-8?q?=E5=A5=97=E9=A4=90=E7=9A=84=E4=B8=8B=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Laravel/public/tool/register.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Laravel/public/tool/register.html b/Laravel/public/tool/register.html index 6202c05..2bab964 100644 --- a/Laravel/public/tool/register.html +++ b/Laravel/public/tool/register.html @@ -553,20 +553,6 @@ const item_table_ref = ref(false); const select_table_computed = computed(() => { let items = [] - if (!!pay_info.value) { - if (!!pay_info.value.items_info) { - let group_items = pay_info.value.items_info.items - for (let i in group_items) { - for (let j in group_items[i].children) { - items.push({ - ...group_items[i].children[j], - group: group_items[i].keshi_name, - type: '自选' - }) - } - } - } - } if (!!pay_info.value) { if (!!pay_info.value.combo_info) { let combo_items = pay_info.value.combo_info.items @@ -581,6 +567,20 @@ } } } + if (!!pay_info.value) { + if (!!pay_info.value.items_info) { + let group_items = pay_info.value.items_info.items + for (let i in group_items) { + for (let j in group_items[i].children) { + items.push({ + ...group_items[i].children[j], + group: group_items[i].keshi_name, + type: '自选' + }) + } + } + } + } return [ ...items, ]