Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6a89814b
authored
Oct 18, 2025
by
zoumingjun
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
chore: 优化侧边栏展开折叠图标
1 parent
52d3aa93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
packages/@core/ui-kit/layout-ui/src/vben-layout.vue
packages/@core/ui-kit/layout-ui/src/vben-layout.vue
View file @
6a89814
...
...
@@ -10,7 +10,7 @@ import {
useLayoutFooterStyle
,
useLayoutHeaderStyle
,
}
from
'@vben-core/composables'
;
import
{
Menu
}
from
'@vben-core/icons'
;
import
{
IconifyIcon
}
from
'@vben-core/icons'
;
import
{
VbenIconButton
}
from
'@vben-core/shadcn-ui'
;
import
{
ELEMENT_ID_MAIN_CONTENT
}
from
'@vben-core/shared/constants'
;
...
...
@@ -559,7 +559,8 @@ const idMainContent = ELEMENT_ID_MAIN_CONTENT;
class=
"my-0 mr-1 rounded-md"
@
click=
"handleHeaderToggle"
>
<Menu
class=
"size-4"
/>
<IconifyIcon
v-if=
"showSidebar"
icon=
"ep:fold"
/>
<IconifyIcon
v-else
icon=
"ep:expand"
/>
</VbenIconButton>
</
template
>
<slot
name=
"header"
></slot>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment