mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
fix: toogleAll (#3163)
Co-authored-by: wenyushan <wenyushan@xiaomi.com>
This commit is contained in:
parent
b04a3896d2
commit
c9473cb073
@ -126,10 +126,7 @@ export class BaseSelection<
|
||||
|
||||
@autobind
|
||||
toggleAll() {
|
||||
const {value, onChange, option2value, options, multiple} = this.props;
|
||||
if (multiple) {
|
||||
return;
|
||||
}
|
||||
const {value, onChange, option2value, options} = this.props;
|
||||
|
||||
let valueArray: Array<Option> = [];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user