| | |
| | | <div class="logo"> |
| | | <img src="../assets/icons/logo.png" alt=""> |
| | | </div> |
| | | <p class="title">自贡公安天网运维平台</p> |
| | | <p class="title">运维考核平台</p> |
| | | </div> |
| | | <div class="logo-wrapper"> |
| | | <img src="../assets/svg/login-box-bg.svg" alt=""> |
| | |
| | | return { |
| | | codeUrl: "", |
| | | loginForm: { |
| | | username: "admin", |
| | | password: "admin123", |
| | | username: "", |
| | | password: "", |
| | | rememberMe: false, |
| | | code: "", |
| | | uuid: "" |
| | |
| | | this.loginInfo = loginInfo.user |
| | | //如果返回为1正常跳转 |
| | | if (this.loginInfo.firstLogin == 1) { |
| | | this.$router.push({ path: "/" }).catch(() => { }); |
| | | return; |
| | | this.$router.push({ path: this.redirect || "/" }).catch(() => { }); |
| | | // this.$router.push({ path: "/" }).catch(() => { }); |
| | | // return; |
| | | this.$router.push({ path: this.redirect || "/screen" }).catch(() => { }); |
| | | } else { |
| | | localStorage.setItem('firstLogin', 0) |
| | | } |