From aabb89b5f5e2356f85423abeec099772991323da Mon Sep 17 00:00:00 2001 From: chashaobao Date: Thu, 22 Jan 2026 23:54:27 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A5=20feat(=E6=A8=A1=E5=9D=97):=20?= =?UTF-8?q?=E5=8A=A0=E7=BE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/table-list/city-operation/index.tsx | 2 +- src/pages/table-list/staff-qrcode/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/table-list/city-operation/index.tsx b/src/pages/table-list/city-operation/index.tsx index 7662118..10f398e 100644 --- a/src/pages/table-list/city-operation/index.tsx +++ b/src/pages/table-list/city-operation/index.tsx @@ -258,7 +258,7 @@ const TableList: React.FC = () => { cityName: formData.city.label, groupLink: formData.groupLink, sendCount: formData.sendCount, - groupQrCode: formData.qrCode[0].xhr.responseURL, + groupQrCode: formData.qrCode[0].xhr ? formData.qrCode[0].xhr.responseURL : formData.qrCode[0].url, price: calcPrice(formData.sendCount).price, }; console.log('update confirm', formData, params); diff --git a/src/pages/table-list/staff-qrcode/index.tsx b/src/pages/table-list/staff-qrcode/index.tsx index 6c49136..414add5 100644 --- a/src/pages/table-list/staff-qrcode/index.tsx +++ b/src/pages/table-list/staff-qrcode/index.tsx @@ -157,7 +157,7 @@ const TableList: React.FC = () => { id: currentRow?.id, isDefault: currentRow?.isDefault || 0, staffName: formData?.staffName, - staffQrCode: formData.qrCode[0].xhr.responseURL, + staffQrCode: formData.qrCode[0].xhr ? formData.qrCode[0].xhr.responseURL : formData.qrCode[0].url, }; console.log('update confirm', formData, params); try {