Fix style

This commit is contained in:
Acid Chicken (硫酸鶏) 2019-01-10 19:23:22 +09:00 committed by GitHub
parent 1f52aea193
commit 2f10ff1a2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ export default Vue.extend({
this.$refs.input.focus(); this.$refs.input.focus();
}, },
togglePassword() { togglePassword() {
if(this.type == 'password') { if (this.type == 'password') {
this.type = 'text' this.type = 'text'
} else { } else {
this.type = 'password' this.type = 'password'