wangjunyi
2023-04-27 8ef5e2618d6fed0bbfea1aca99ca010b1e041718
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)