瀏覽代碼

task 45202 大屏调整

dev
庞东旭 3 天之前
父節點
當前提交
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(() => { store.dispatch('LogOut').then(() => {
try { try {
const targetPath = window.location.pathname; const targetPath = window.location.pathname;
console.log(window.location)
if(targetPath) if(targetPath)
location.href = '/login?redirect=' + encodeURIComponent(targetPath); location.href = '/login?redirect=' + encodeURIComponent(targetPath);
else else


+ 0
- 1
src/views/login/index.js 查看文件

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


Loading…
取消
儲存