pull/8722/merge
dreamcc 2025-09-09 11:36:46 +08:00 committed by GitHub
commit a62ae1d5b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 2 deletions

View File

@ -251,8 +251,13 @@
}
}
function handleMenuClick(path: string) {
go(path);
function handleMenuClick(path: string, item?: any) {
// query
if (item?.meta?.queryParams) {
go({ path, query: item.meta.queryParams } as any);
} else {
go(path);
}
}
function handleClickOutside() {