fix: select trigger disabled option (#3867)

pull/3900/head
zkwolf 2021-03-28 20:29:45 +08:00 committed by GitHub
parent 8fc617a4d7
commit 61fa2cfdf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ export function findFirstMenuItem(children) {
if (found) {
return found;
}
} else if (!props.disabled) {
} else if (!(props.disabled || props.disabled === '')) {
return child;
}
}