mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
parent
8c7dbff724
commit
918d2ea1e9
@ -241,7 +241,11 @@ export default class ChainedSelectControl extends React.Component<
|
||||
? value.split(delimiter || ',')
|
||||
: [];
|
||||
arr.splice(index, arr.length - index);
|
||||
arr.push(joinValues ? currentValue.value : currentValue);
|
||||
|
||||
const pushValue = joinValues ? currentValue.value : currentValue;
|
||||
if (pushValue !== undefined) {
|
||||
arr.push(pushValue);
|
||||
}
|
||||
|
||||
const valueRes = this.array2value(arr);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user