admin/src/views/login.vue
@@ -127,7 +127,6 @@ uuid: this.captcha.uuid }) .then((res) => { // window.location.href = process.env.VUE_APP_CONTEXT_PATH if (this.isRemPsd) { localStorage.setItem('username', this.username.trim()) localStorage.setItem('password', this.password.trim()) @@ -138,7 +137,7 @@ localStorage.removeItem('isRemPsd') } Cookies.set('dm_user_token', res) this.$router.push('index') window.location.href = process.env.VUE_APP_CONTEXT_PATH }) .catch(e => { this.refreshCaptcha()