Created
May 23, 2020 11:28
-
-
Save Bachana123/9365345f002c30d25fff9dd58e96105f to your computer and use it in GitHub Desktop.
add focus effect after v-show is true
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.$nextTick(() => { | |
this.$refs.searchInput.focus(); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment