From d65c12cb2c67d0c831510d50c5bedd54ac31b526 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Wed, 14 Aug 2024 10:01:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=B0=E5=A2=9E=E4=BA=A7=E5=93=81:=20?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E5=A1=AB=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/products/Detail/NewProductModal.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/products/Detail/NewProductModal.jsx b/src/views/products/Detail/NewProductModal.jsx index 3319910..aa1f60b 100644 --- a/src/views/products/Detail/NewProductModal.jsx +++ b/src/views/products/Detail/NewProductModal.jsx @@ -75,6 +75,7 @@ export const NewProductModal = ({ initialValues }) => { const handelAddProduct = (param) => { const copyNewProduct = structuredClone(newProduct); copyNewProduct.info.title = param.title; + copyNewProduct.info.product_title = param.title; copyNewProduct.info.product_type_id = productsTypesMapVal[param.products_type.value].value; copyNewProduct.info.product_type_name = productsTypesMapVal[param.products_type.value].label; copyNewProduct.lgc_details[0].lgc = language;