庞东旭 3 дней назад
Родитель
Сommit
5457f3da25
2 измененных файлов: 0 добавлений и 2 удалений
  1. +0
    -1
      src/utils/request.js
  2. +0
    -1
      src/views/login/index.js

+ 0
- 1
src/utils/request.js Просмотреть файл

@@ -65,7 +65,6 @@ service.interceptors.response.use(res => {
store.dispatch('LogOut').then(() => {
try {
const targetPath = window.location.pathname;
console.log(window.location)
if(targetPath)
location.href = '/login?redirect=' + encodeURIComponent(targetPath);
else


+ 0
- 1
src/views/login/index.js Просмотреть файл

@@ -184,7 +184,6 @@ export default {
//重置密码
this.$set(this.resetPwd, "open", true);
} else {
console.log(this.redirect + 11111111111);
this.$router.push({ path: this.redirect || "/nav" })
}
}


Загрузка…
Отмена
Сохранить