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上的属性
13 回答13k 阅读
8 回答2.9k 阅读
2 回答5.2k 阅读✓ 已解决
5 回答1.5k 阅读
7 回答2.2k 阅读
3 回答1.3k 阅读✓ 已解决
3 回答2.3k 阅读✓ 已解决