Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions jeecgboot-vue3/src/layouts/default/sider/MixSider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down