mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
Select: fix the bug when the value is Boolean (#21052)
This commit is contained in:
@@ -526,7 +526,7 @@
|
||||
}
|
||||
if (option) return option;
|
||||
const label = (!isObject && !isNull && !isUndefined)
|
||||
? value : '';
|
||||
? String(value) : '';
|
||||
let newOption = {
|
||||
value: value,
|
||||
currentLabel: label
|
||||
|
||||
Reference in New Issue
Block a user