深海科学与工程研究所安全巡检系统
祖安之光
2025-10-15 f2e0a0b50e5f628abdfe6c1e4cc4a9f682003ece
提交
已修改2个文件
7 ■■■■■ 文件已修改
src/views/system/user/profile/resetPwd.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/user/profile/userInfo.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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>
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'})
};
// 回显当前登录用户信息