Commit 21fc40d7 authored by sunhongwei's avatar sunhongwei

修改路径

parent de5beed6
...@@ -98,7 +98,7 @@ export default { ...@@ -98,7 +98,7 @@ export default {
async logout() { async logout() {
this.$modal.confirm('确定注销并退出系统吗?', '提示').then(() => { this.$modal.confirm('确定注销并退出系统吗?', '提示').then(() => {
this.$store.dispatch('LogOut').then(() => { this.$store.dispatch('LogOut').then(() => {
location.href = '/index'; location.href = '/';
}) })
}).catch(() => {}); }).catch(() => {});
} }
......
...@@ -76,7 +76,7 @@ service.interceptors.response.use(res => { ...@@ -76,7 +76,7 @@ service.interceptors.response.use(res => {
).then(() => { ).then(() => {
isRelogin.show = false; isRelogin.show = false;
store.dispatch('LogOut').then(() => { store.dispatch('LogOut').then(() => {
location.href = '/index'; location.href = '/';
}) })
}).catch(() => { }).catch(() => {
isRelogin.show = false; isRelogin.show = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment