useEffect(() => {
solution && solution.forEach(it => {
it['name'] = it['solution_name'];
});
console.log(solution, "solution")
setMachineChangeList(solution);
}, []);
不可加对象属性下不存在的属性
useEffect(() => {
solution && solution.forEach(it => {
it['name'] = it['solution_name'];
});
console.log(solution, "solution")
setMachineChangeList(solution);
}, []);
不可加对象属性下不存在的属性