mirror of https://github.com/ElemeFE/element
Input: fix show password cursor (#20870)
parent
fa64999032
commit
04858017fb
|
@ -403,7 +403,9 @@
|
|||
},
|
||||
handlePasswordVisible() {
|
||||
this.passwordVisible = !this.passwordVisible;
|
||||
this.focus();
|
||||
this.$nextTick(() => {
|
||||
this.focus();
|
||||
});
|
||||
},
|
||||
getInput() {
|
||||
return this.$refs.input || this.$refs.textarea;
|
||||
|
|
Loading…
Reference in New Issue