遍历所有key

1
2
3
Object.keys(this.form).forEach((key) => {
this.form[key] = this.selection[0][key];
});