Update index.vue

菜单动态参数地址支持
pull/8724/head
dreamcc 2025-08-18 12:58:32 +08:00 committed by GitHub
parent 6ace7eae8a
commit 1f51fc3ea6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -122,6 +122,12 @@
if (item) { if (item) {
localeStore.setPathTitle(path, item.title || ''); localeStore.setPathTitle(path, item.title || '');
} }
// query
if (item?.meta?.queryParams) {
go({ path, query: item.meta.queryParams } as any);
} else {
go(path);
}
go(path); go(path);
} }
//update-end-author:taoyan date:2022-6-1 for: VUEN-1144 online //update-end-author:taoyan date:2022-6-1 for: VUEN-1144 online