mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 20:39:07 +08:00
selectFisrt 值格式有点问题
This commit is contained in:
parent
438bcf3d83
commit
05ccc8269f
@ -409,11 +409,12 @@ export const FormItemStore = StoreNode.named('FormItemStore')
|
||||
return item;
|
||||
});
|
||||
|
||||
const value = self.joinValues
|
||||
? list.join(self.delimiter)
|
||||
: self.multiple
|
||||
? list
|
||||
: list[0];
|
||||
const value =
|
||||
self.joinValues && self.multiple
|
||||
? list.join(self.delimiter)
|
||||
: self.multiple
|
||||
? list
|
||||
: list[0];
|
||||
|
||||
if (form.inited && onChange) {
|
||||
onChange(value);
|
||||
|
Loading…
Reference in New Issue
Block a user