fix 修复 ruoyi 关于 配置应用前缀路径的bug 改为配置文件统一配置

This commit is contained in:
疯狂的狮子Li
2021-11-08 18:17:29 +08:00
parent 57df7f8dfe
commit 4d5048435c
7 changed files with 12 additions and 5 deletions

View File

@ -102,7 +102,7 @@ export default {
type: 'warning'
}).then(() => {
this.$store.dispatch('LogOut').then(() => {
location.href = this.$router.options.base + '/index';
location.href = process.env.VUE_APP_CONTEXT_PATH;
})
}).catch(() => {});
}