📅  最后修改于: 2022-03-11 14:56:48.133000             🧑  作者: Mango
// Patched into :
static normalizeFields(...fields) {
return fields
.reduce((acc, val) => acc.concat(val), [])
.map(field =>
this.normalizeField(
field && field.name,
field && field.value,
field && typeof field.inline === 'boolean' ? field.inline : false,
),
);
}