mirror of https://github.com/jeecgboot/jeecg-boot
Merge eefc411ea4
into fd60e49f5b
commit
a62ae1d5b5
|
@ -251,9 +251,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleMenuClick(path: string) {
|
function handleMenuClick(path: string, item?: any) {
|
||||||
|
// 检查是否有保存的query参数,如果有则携带跳转
|
||||||
|
if (item?.meta?.queryParams) {
|
||||||
|
go({ path, query: item.meta.queryParams } as any);
|
||||||
|
} else {
|
||||||
go(path);
|
go(path);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function handleClickOutside() {
|
function handleClickOutside() {
|
||||||
setActive(true);
|
setActive(true);
|
||||||
|
|
Loading…
Reference in New Issue