From aaf2edb2d45f143eeac572f12052246bb6a87abf Mon Sep 17 00:00:00 2001 From: Javy Date: Fri, 8 Oct 2021 15:32:25 +0800 Subject: [PATCH] fix: can not get the 'refs' --- src/views/login/Login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/login/Login.vue b/src/views/login/Login.vue index e74dd7e..27da09b 100644 --- a/src/views/login/Login.vue +++ b/src/views/login/Login.vue @@ -135,7 +135,7 @@ let showPwd = () => { proxy.$nextTick(() => { console.log(proxy.$refs.password) let refPassword = null - proxy.$refs["'password'"].focus() + proxy.$refs['password'].focus() }) }