const columns = Object.keys(data[0]).map((key) => {
return {
title: key,
field: key,
};
});
Unexpected block statement surrounding arrow body; parenthesize the returned value and move it immediately after the `=>` arrow-body-style
我到底应该怎么重写代码?