Commit 60a3b6a9f9bbb2cb495ec75defc8091170d8b382
Committed by
GitHub
1 parent
b97d5883
fixed:修复操作页签后 打开页面需要使用fullPath,否则可能会导致参数丢失引起数据加载异常。 (#2768)
Co-authored-by: lichi <lichi@ilinecn.com>
Showing
1 changed file
with
1 additions
and
1 deletions
src/store/modules/multipleTab.ts
@@ -23,7 +23,7 @@ export interface MultipleTabState { | @@ -23,7 +23,7 @@ export interface MultipleTabState { | ||
23 | 23 | ||
24 | function handleGotoPage(router: Router) { | 24 | function handleGotoPage(router: Router) { |
25 | const go = useGo(router); | 25 | const go = useGo(router); |
26 | - go(unref(router.currentRoute).path, true); | 26 | + go(unref(router.currentRoute).fullPath, true); |
27 | } | 27 | } |
28 | 28 | ||
29 | const getToTarget = (tabItem: RouteLocationNormalized) => { | 29 | const getToTarget = (tabItem: RouteLocationNormalized) => { |