fix: 修复ApiSelect属性被覆盖的问题 (#1226)

This commit is contained in:
Joyboo 2021-09-28 00:22:04 +08:00 committed by GitHub
parent 034e39ef06
commit 754d1986e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,9 +77,9 @@
if (next) {
const value = next[valueField];
prev.push({
...omit(next, [labelField, valueField]),
label: next[labelField],
value: numberToString ? `${value}` : value,
...omit(next, [labelField, valueField]),
});
}
return prev;