diff --git a/src/components/UseCouponAddEdit/index.jsx b/src/components/UseCouponAddEdit/index.jsx index 49b6afe7..b34a771d 100644 --- a/src/components/UseCouponAddEdit/index.jsx +++ b/src/components/UseCouponAddEdit/index.jsx @@ -379,19 +379,18 @@ const UseCouponAddEdit = forwardRef((props, ref) => { }); let scope_data = goods_arr.concat(lj_arr); - console.log("scope_data =>", scope_data); scope_data = _.map(scope_data, (o) => { if (o.type === 2) { if (o.only.is_delete) { - o.checked = true; - } else { o.checked = false; + } else { + o.checked = true; } } else { if (o.is_delete) { - o.checked = true; - } else { o.checked = false; + } else { + o.checked = true; } } return o;