src/layout/components/PwdChange.vue @@ -103,7 +103,7 @@ this.close(); alert("密码更新成功,请重新登录!"); this.$store.dispatch("user/logout"); // this.$router.push("/login"); this.$router.push("/login"); } else { this.$layer.msg(msg); }