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 { `