From 86fdf7285657727a3f893496fd54c65e7788c51b Mon Sep 17 00:00:00 2001 From: koisi <kor.coeo@gmail.com> Date: 星期一, 05 八月 2024 15:40:24 +0800 Subject: [PATCH] 修复语法错误导致的前端编译异常 --- web_src/src/components/dialog/changePassword.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/web_src/src/components/dialog/changePassword.vue b/web_src/src/components/dialog/changePassword.vue old mode 100644 new mode 100755 index 77e1d2a..5ab2d2f --- a/web_src/src/components/dialog/changePassword.vue +++ b/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) -- Gitblit v1.8.0