const child = new File([],'');
child.b = 'bbb';
console.log(child);// 有name size type等属性
const c = { ...child };
console.log(c);// 只有b属性
如何让c也有name size type等File上的属性
const child = new File([],'');
child.b = 'bbb';
console.log(child);// 有name size type等属性
const c = { ...child };
console.log(c);// 只有b属性
如何让c也有name size type等File上的属性
10 回答11.7k 阅读
2 回答3.2k 阅读✓ 已解决
2 回答4.2k 阅读✓ 已解决
3 回答1.9k 阅读✓ 已解决
3 回答2.7k 阅读✓ 已解决
2 回答1.7k 阅读✓ 已解决
4 回答2.5k 阅读✓ 已解决