Element select remote search cannot be entered properly when setting focus

The default focus search box is required when the

page is initialized. I set the delay in mounted:

HTML section:

<el-select ref="selector" filterable remote ....

JS section:

mounted() {
  setTimeout(() => {
    this.$refs.selector.focus()
  }, 500)
}

performance:

does set focus normally, but the problem is that only sets focus and cannot enter !
must click Enter again to show the normal Input style and can be typed properly.


it's ridiculous. It would be fine to change it to click!

mounted() {
  setTimeout(() => {
    this.$refs.selector.$el.querySelector('input').click()
  }, 500)
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b351ed-2b7b5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b351ed-2b7b5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?