更新页面

This commit is contained in:
2025-09-25 12:21:06 +08:00
parent bcb8cfb3c0
commit 7e604afdce
3 changed files with 158 additions and 167 deletions

View File

@ -1,6 +1,6 @@
<template>
<header class="headerWrapper">
<div class="logo flex align-center" @click="goToHome"><img width="45" class="mr10" src="@/assets/images/jinghui.png" alt="">保安管理</div>
<div class="logo flex align-center"><img width="45" class="mr10" src="@/assets/images/jinghui.png" alt="">保安管理</div>
<div class="right">
<div><img src="@/assets/images/peo.png" /></div>
<div class="detail">
@ -19,9 +19,6 @@
</template>
</el-dropdown>
</div>
<!-- <div @click="goToHome">
<img src="@/assets/images/meun.png" />
</div> -->
</div>
</header>
</template>
@ -41,12 +38,6 @@ onMounted(() => {
deptName.value = localStorage.getItem("deptId") ? JSON.parse(localStorage.getItem("deptId"))[0].deptName : ''
})
// 路由跳转
function goToHome() {
router.push(`/unitInformation`);
// window.location.href = "/";
}
const active = ref("");
onMounted(() => {
//登陆用户信息