diff --git a/src/login.vue b/src/login.vue index 0d9d02b..76711a0 100644 --- a/src/login.vue +++ b/src/login.vue @@ -146,7 +146,7 @@ export default { window.console.log(res); localStorage.setItem("token", res.data.data); this.$router.push({ - path: `/index` + path: `/` }); }); }