If you give the username input a ref attribute in your template, you can then access the username input using this.$refs.username as shown ...
確定! 回上一頁