From 2458a0f18f939aa90ea819dd62c13f6e2c4eb143 Mon Sep 17 00:00:00 2001 From: yutent Date: Mon, 20 Mar 2023 19:29:55 +0800 Subject: [PATCH] update --- src/form/passwd.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/form/passwd.js b/src/form/passwd.js index b396a37..334e070 100644 --- a/src/form/passwd.js +++ b/src/form/passwd.js @@ -97,7 +97,7 @@ class Passwd extends Component { } /* ----- */ .icon { - --size: 18px; + --size: 16px; margin: 0 8px 0 4px; color: var(--color-grey-2); cursor: pointer; @@ -223,6 +223,7 @@ class Passwd extends Component { ] mounted() { + console.log(this.$refs) if (this.autofocus) { this.$refs.input.setAttribute('autofocus', '') // 需要focus()才能聚焦成功 @@ -257,7 +258,7 @@ class Passwd extends Component { `