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 ? "商品" : "立减金"}; - } }} />