@@ -72,11 +72,16 @@ export default {
message: '密码修改成功',
type: 'success',
});
- this.$router.push({ path: '/login' });
+ this.logout();
+ this.toxiugai();
} else {
this.$message.error('密码修改失败');
}
},
+
+ async toxiugai() {
+ this.$router.push({ path: '/platlive' });
+ },
};
</script>