mirror of
https://github.com/element-plus/element-plus.git
synced 2025-02-23 11:59:34 +08:00
parent
72274ed0ad
commit
8b4be99610
@ -339,7 +339,10 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
const focus = () => {
|
||||
inputOrTextarea.value.focus()
|
||||
// see: https://github.com/ElemeFE/element/issues/18573
|
||||
nextTick(() => {
|
||||
inputOrTextarea.value.focus()
|
||||
})
|
||||
}
|
||||
|
||||
const blur = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user