From c89faffc0b0cf7768b10232b03b260ada42e0889 Mon Sep 17 00:00:00 2001 From: zhangds Date: Mon, 24 Oct 2022 10:58:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=95=86=E5=93=81=E6=9D=83?= =?UTF-8?q?=E9=87=8D=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UseProductPop/index.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/UseProductPop/index.jsx b/src/components/UseProductPop/index.jsx index b884fd10..4276f8ae 100644 --- a/src/components/UseProductPop/index.jsx +++ b/src/components/UseProductPop/index.jsx @@ -83,7 +83,7 @@ const UseProductPop = forwardRef((props, ref) => { code_batch_id: "", product_type: productType, cost_price: "", - weight: "", + weight: "0", quantity: "", contract_price: "", product_name: "", @@ -154,7 +154,6 @@ const UseProductPop = forwardRef((props, ref) => { handelResponse( res, (req, msg) => { - console.log("商品数据 =>", req); setState({ loading: false, }); @@ -168,7 +167,6 @@ const UseProductPop = forwardRef((props, ref) => { text: item.title, }; }); - console.log("映射商品 =>", optArr); setState({ productOption: optArr }); resolve(optArr); },