fix(components):[select] (#6446) (#6474)

This commit is contained in:
gjfei
2022-03-08 14:09:37 +08:00
committed by GitHub
parent b8c38a9fe5
commit 68127aa442

View File

@@ -265,7 +265,7 @@ export const useSelect = (props, states: States, ctx) => {
input.value?.focus()
} else {
if (states.selectedLabel) {
states.currentPlaceholder = states.selectedLabel
states.currentPlaceholder = `${states.selectedLabel}`
states.selectedLabel = ''
}
}