src/views/login/components/loginForm.vue
@@ -279,10 +279,9 @@ getMenuPermission().then((rep) => { data.userInfo.permissions = rep.data.permissions; sessionStorage.setItem("userInfo", JSON.stringify(data.userInfo)); this.$router.push("/"); }); this.loading.close(); this.$router.push("/"); }) .catch((err) => { this.loading.close();