How to set input to get focus state by default in nuxt framework

I set autofocus on input, but it"s only the first time I go in like this. I can also achieve input to get the focus state after clicking the button. Could you tell me how to write the grammar of nuxt? My click event is written in the methods hook function, but the this.$el/this.$refs fails when it gets the focus state. If you know, I hope you can give me some advice.

Mar.28,2021

this.$el.focus ()

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-1b353c2-2b6f5.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-1b353c2-2b6f5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?