Skip to content

Commit

Permalink
fix(tabber): preserve URL query params when switching tabbers
Browse files Browse the repository at this point in the history
  • Loading branch information
dingdayu authored Feb 8, 2025
1 parent 767038e commit f8f30b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/effects/layouts/src/basic/tabbar/use-tabbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export function useTabbar() {
);

watch(
() => route.path,
() => [route.path, route.query],
() => {
const meta = route.matched?.[route.matched.length - 1]?.meta;
tabbarStore.addTab({
Expand Down

0 comments on commit f8f30b1

Please sign in to comment.