diff --git a/threadpool/console/src/views/login/index.vue b/threadpool/console/src/views/login/index.vue index 69b3d78b..086359a3 100755 --- a/threadpool/console/src/views/login/index.vue +++ b/threadpool/console/src/views/login/index.vue @@ -131,13 +131,6 @@ export default { } console.log(hostname); }, - mounted() { - if (this.loginForm.username === '') { - this.$refs.username.focus(); - } else if (this.loginForm.password === '') { - this.$refs.password.focus(); - } - }, destroyed() { // window.removeEventListener('storage', this.afterQRScan) },