2.5init #4

Merged
lyc merged 1 commits from lyc-dev into main 2024-10-29 15:10:27 +08:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit 74a65479c7 - Show all commits

View File

@ -2,7 +2,7 @@
<div class="page-aside">
<div>
<div>
<el-popover placement="right" trigger="hover" :width="120" popper-class="popoverStyle" >
<el-popover ref="popoverRef" placement="right" trigger="hover" :width="120" popper-class="popoverStyle" >
<template #reference>
<el-image class="user-img" :src="dev_api + userStore.user.avatar" />
</template>
@ -53,7 +53,7 @@ const router = useRouter()
const currentRoute = ref('')
const activeId = ref('/home')
const popoverRef = ref('')
const headerMenus = [
{
@ -93,6 +93,7 @@ const clickMenu = ({ id, disabled, path }) => {
}
const onUserTo = (path) =>{
popoverRef.value.hide()
router.push(path)
}