auto expand menu when menu open by search/recent
This commit is contained in:
@@ -88,6 +88,9 @@ export const useCommandPalattesStore = defineStore('command_palettes', () => {
|
||||
addRecent(routeTarget)
|
||||
route.push(routeTarget.path)
|
||||
closeCommand()
|
||||
setTimeout(() => {
|
||||
menu.expandCurrentActiveMenu()
|
||||
}, 200);
|
||||
}
|
||||
|
||||
const closeCommand = () => {
|
||||
|
Reference in New Issue
Block a user