From 99cc27f69ee1440da188f771368daa4650c11cad Mon Sep 17 00:00:00 2001 From: zhangds Date: Fri, 30 Sep 2022 14:40:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BC=98=E6=83=A0?= =?UTF-8?q?=E5=88=B8=E5=95=86=E5=93=81=E8=8C=83=E5=9B=B4=E5=88=97=E8=A1=A8?= =?UTF-8?q?=20=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/coupon/commodity/index.jsx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/pages/coupon/commodity/index.jsx b/src/pages/coupon/commodity/index.jsx index ccd5a14c..f9c7210d 100644 --- a/src/pages/coupon/commodity/index.jsx +++ b/src/pages/coupon/commodity/index.jsx @@ -79,9 +79,9 @@ const tableColumn = [ }, { title: "类型", - name: "type", - prop: "type", - type: "slot", + name: "product_type_text", + prop: "product_type_text", + type: "normal", width: "auto", }, { @@ -289,10 +289,6 @@ const UseCouponCommodity = () => { ); } - - if (com === "type") { - return {rowData.type === 1 ? "商品" : "立减金"}; - } }} />