xiaoQQya
2023-03-20 aac3e951599c7fa29b522ea0141288b5ab097eeb
web_src/src/components/dialog/changePassword.vue
@@ -35,6 +35,7 @@
<script>
import crypto from 'crypto'
import userService from "../service/UserService";
export default {
  name: "changePassword",
  props: {},
@@ -105,7 +106,7 @@
          this.showDialog = false;
          setTimeout(()=>{
            // 删除cookie,回到登录页面
            this.$cookies.remove("session");
            userService.clearUserInfo();
            this.$router.push('/login');
            this.sseSource.close();
          },800)