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