未验证 提交 d620758c 编写于 作者: W wh 提交者: GitHub

fix(ApiSelect): 支持x.x.x格式 (#2637)

Co-authored-by: Nwhong <whif@foxmail.com>
上级 f2ec2ca2
......@@ -73,10 +73,10 @@
return unref(options).reduce((prev, next: Recordable) => {
if (next) {
const value = next[valueField];
const value = get(next, valueField);
prev.push({
...omit(next, [labelField, valueField]),
label: next[labelField],
label: get(next, labelField),
value: numberToString ? `${value}` : value,
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册