Commit 9d98df40 by 李伟超(前端)

update

1 parent e64f5dc2
This diff could not be displayed because it is too large.
......@@ -402,7 +402,7 @@ router.beforeEach((to, from, next) => {
"color:blue"
);
// router.push({name: 'login'})
// window.location.href = store.state.domainURL + 'shoplist';
window.location.href = store.state.domainURL + 'shoplist';
});
} else if (
router.options.isAddDynamicMenuRoutes ||
......@@ -440,7 +440,7 @@ router.beforeEach((to, from, next) => {
"color:blue"
);
// router.push({name: 'login'})
// window.location.href = store.state.domainURL + 'shoplist';
window.location.href = store.state.domainURL + 'shoplist';
});
}
});
......
......@@ -46,7 +46,7 @@ http.interceptors.response.use(
onClose: () => {
clearCookie();
sessionStorage.clear();
// window.location.href = store.state.domainURL + 'shoplist';
window.location.href = store.state.domainURL + 'shoplist';
}
});
// router.push({ name: 'login' })
......
......@@ -190,7 +190,7 @@ export default {
switch (event) {
case "logout":
clearCookie();
// window.location.href = this.$store.state.domainURL + 'shoplist';
window.location.href = this.$store.state.domainURL + 'shoplist';
break;
case "modify":
this.updatePasswordHandle()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!