diff --git a/favicon.ico b/favicon.ico index 7cd39d7..34b63ac 100644 Binary files a/favicon.ico and b/favicon.ico differ diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 8ccd2ee..6bffd1e 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -13,8 +13,9 @@ - + @@ -58,10 +59,18 @@ export default { username: [{ required: true, trigger: 'blur', validator: validateUsername }], password: [{ required: true, trigger: 'blur', validator: validatePass }] }, - loading: false + loading: false, + pwdType: 'password' } }, methods: { + showPwd() { + if (this.pwdType === 'password') { + this.pwdType = '' + } else { + this.pwdType = 'password' + } + }, handleLogin() { this.$refs.loginForm.validate(valid => { if (valid) { @@ -154,6 +163,7 @@ export default { font-size: 16px; color: $dark_gray; cursor: pointer; + user-select:none; } .thirdparty-button{ position: absolute;