fix(components): [select] blur trigger remote event should pass string (#10218)

This commit is contained in:
btea 2022-10-26 16:39:05 +08:00 committed by GitHub
parent af874ea93e
commit 6d839aeb96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,10 +246,10 @@ export const useSelect = (props, states: States, ctx) => {
if (!val) {
if (props.filterable) {
if (isFunction(props.filterMethod)) {
props.filterMethod()
props.filterMethod('')
}
if (isFunction(props.remoteMethod)) {
props.remoteMethod()
props.remoteMethod('')
}
}
input.value && input.value.blur()