From 1d1732ab4a6d4cb427ee9c871a82fef13a3d941b Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 26 十一月 2021 13:40:21 +0800 Subject: [PATCH] update 常住token有效期改为一天 --- 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