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.1k 阅读
6 回答3k 阅读
5 回答4.8k 阅读✓ 已解决
4 回答3.1k 阅读✓ 已解决
2 回答2.7k 阅读✓ 已解决
3 回答5.1k 阅读✓ 已解决
3 回答1.8k 阅读✓ 已解决