From da2cb61cae18b7da32b972f9f71489bb59af6382 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 29 十月 2021 17:37:15 +0800 Subject: [PATCH] update 调整 pr !107 代码格式 --- ruoyi-ui/src/utils/request.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/utils/request.js b/ruoyi-ui/src/utils/request.js index 4acc3b4..e8b3b5f 100644 --- a/ruoyi-ui/src/utils/request.js +++ b/ruoyi-ui/src/utils/request.js @@ -65,7 +65,7 @@ } ).then(() => { store.dispatch('LogOut').then(() => { - location.href = '/index'; + location.href = this.$router.options.base + '/index'; }) }).catch(() => {}); return Promise.reject('鏃犳晥鐨勪細璇濓紝鎴栬�呬細璇濆凡杩囨湡锛岃閲嶆柊鐧诲綍銆�') -- Gitblit v1.9.3