Commit 2789f1c9 authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复数据不可操作的问题

parent 8c51fa80
......@@ -251,7 +251,7 @@ const DeliverCoupon: React.FC<IProps> = (props) => {
return;
}
let newData = [...suitableMemberList];
newData = newData.concat(RowCtl.selectRow.map((item) => ({ ...item, disabled: true })));
newData = newData.concat(RowCtl.selectRow.map((item) => ({ ...item, disabled: false })));
setSuitableMemberList(newData);
const filtered = newData.map(({ onlyId, disabled, ...rest }) => ({ ...rest }));
triggerChange(filtered);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment