Skip to content

Commit

Permalink
Merge pull request #2 from JerryWang24/master
Browse files Browse the repository at this point in the history
fix: can not get the 'refs'
  • Loading branch information
jzfai authored Oct 8, 2021
2 parents 6b3a90a + 512baad commit 33ea42b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/login/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ let showPwd = () => {
proxy.$nextTick(() => {
console.log(proxy.$refs.password)
let refPassword = null
proxy.$refs["'password'"].focus()
proxy.$refs['password'].focus()
})
}
</script>
Expand Down

0 comments on commit 33ea42b

Please sign in to comment.