feat: support smooth auto-scroll to active menu item (#6102)

This commit is contained in:
Vben
2025-05-03 18:05:26 +08:00
committed by GitHub
parent 17a18fc9ba
commit 045bc4e5ee
9 changed files with 155 additions and 70 deletions

View File

@@ -37,6 +37,7 @@ function handleMenuOpen(key: string, path: string[]) {
:menus="menus"
:mode="mode"
:rounded="rounded"
scroll-to-active
:theme="theme"
@open="handleMenuOpen"
@select="handleMenuSelect"