287c70c7 by renchao@pashanhoo.com

style:修改重定向

1 parent 02899b44
......@@ -42,11 +42,8 @@ export default {
this.$store.dispatch("user/resetState");
this.$store.dispatch("permission/resetRoutes");
this.$router.replace({
path: "/jg",
query: {
redirect: this.$route.fullPath,
},
});
path: "/jg"
})
})
.catch((error) => {
})
......
......@@ -45,11 +45,8 @@ export default {
this.$store.dispatch("user/resetState");
this.$store.dispatch("permission/resetRoutes");
this.$router.replace({
path: "/sb",
query: {
redirect: this.$route.fullPath,
},
});
path: "/sb"
})
})
.catch((error) => {
// console.dir(error);
......