fix(components): select v2 remote method trigger reset value when blur (#7569)

This commit is contained in:
云游君 2022-05-09 10:46:44 +08:00 committed by GitHub
parent b2e7477f51
commit f30b994d66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -709,6 +709,7 @@ const useSelect = (props: ExtractPropTypes<typeof SelectProps>, emit) => {
// the purpose of this function is to differ the blur event trigger mechanism
} else {
states.displayInputValue = ''
states.previousQuery = null
createNewOption('')
}
})