📅  最后修改于: 2022-03-11 14:59:04.535000             🧑  作者: Mango
const onFinish=(values)=>{
form.resetFields();
let array1=[];
if(Array.isArray(array1)){
array1=values;
localStorage.setItem(`${id}`,JSON.stringify({id,...array1}));
}
}