From ceb3690530164f4fc87caf41faac34962f8328c7 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Mon, 5 Aug 2024 14:44:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E7=AE=A1=E7=90=86:=20?= =?UTF-8?q?=E7=BC=96=E8=BE=91:=20=E6=8A=A5=E4=BB=B7=E6=95=B0=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/products/Detail/ProductInfoForm.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/products/Detail/ProductInfoForm.jsx b/src/views/products/Detail/ProductInfoForm.jsx index a3317ed..eed89f6 100644 --- a/src/views/products/Detail/ProductInfoForm.jsx +++ b/src/views/products/Detail/ProductInfoForm.jsx @@ -400,8 +400,8 @@ const formValuesMapper = (values) => { } // omit empty // Object.keys(dest).forEach((key) => (dest[key] == null || dest[key] === '' || dest[key].length === 0) && delete dest[key]); - const { lgc_details, lgc_details_mapped, ...info } = dest; // quotation - return { info, lgc_details, lgc_details_mapped }; // quotation + const { lgc_details, lgc_details_mapped, quotation, ...info } = dest; // quotation + return { info, lgc_details, lgc_details_mapped, quotation }; // quotation }; export default InfoForm;