update 支持配置文件指定应用路径

This commit is contained in:
疯狂的狮子li
2022-02-28 10:26:58 +08:00
parent aa45176fa7
commit 9bd29a6777
7 changed files with 347 additions and 336 deletions

View File

@@ -88,7 +88,7 @@ service.interceptors.response.use(res => {
).then(() => {
isRelogin.show = false;
store.dispatch('LogOut').then(() => {
location.href = '/index';
location.href = process.env.VUE_APP_CONTEXT_PATH + "index";
})
}).catch(() => {
isRelogin.show = false;