From f2e0a0b50e5f628abdfe6c1e4cc4a9f682003ece Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Wed, 15 Oct 2025 13:30:09 +0800
Subject: [PATCH] 提交

---
 src/views/system/user/profile/userInfo.vue |    4 ++--
 src/views/system/user/profile/resetPwd.vue |    3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/system/user/profile/resetPwd.vue b/src/views/system/user/profile/resetPwd.vue
index 4c5d701..26fa818 100644
--- a/src/views/system/user/profile/resetPwd.vue
+++ b/src/views/system/user/profile/resetPwd.vue
@@ -19,6 +19,7 @@
 <script setup>
 import { updateUserPwd } from "@/api/system/user";
 import useUserStore from "@/store/modules/user";
+const router = useRouter();
 const userStore = useUserStore()
 const { proxy } = getCurrentInstance();
 
@@ -60,6 +61,6 @@
 };
 /** 关闭按钮 */
 function close() {
-  proxy.$tab.closePage();
+  router.push({path: '/saftyCheckMng/dailyCheck'})
 };
 </script>
diff --git a/src/views/system/user/profile/userInfo.vue b/src/views/system/user/profile/userInfo.vue
index c4e51d7..9f12980 100644
--- a/src/views/system/user/profile/userInfo.vue
+++ b/src/views/system/user/profile/userInfo.vue
@@ -24,7 +24,7 @@
 
 <script setup>
 import { updateUserProfile } from "@/api/system/user";
-
+const router = useRouter();
 const props = defineProps({
   user: {
     type: Object
@@ -55,7 +55,7 @@
 
 /** 关闭按钮 */
 function close() {
-  proxy.$tab.closePage();
+  router.push({path: '/saftyCheckMng/dailyCheck'})
 };
 
 // 回显当前登录用户信息

--
Gitblit v1.9.2