Commit 21fc40d7 authored by sunhongwei's avatar sunhongwei

修改路径

parent de5beed6
......@@ -98,7 +98,7 @@ export default {
async logout() {
this.$modal.confirm('确定注销并退出系统吗?', '提示').then(() => {
this.$store.dispatch('LogOut').then(() => {
location.href = '/index';
location.href = '/';
})
}).catch(() => {});
}
......
......@@ -76,7 +76,7 @@ service.interceptors.response.use(res => {
).then(() => {
isRelogin.show = false;
store.dispatch('LogOut').then(() => {
location.href = '/index';
location.href = '/';
})
}).catch(() => {
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