Browse Source

fix: 修复操作页签后 打开页面需要使用fullPath,否则可能会导致参数丢失引起数据加载异常

main
xingyu 2 years ago
parent
commit
764b0f0f6c
  1. 2
      src/store/modules/multipleTab.ts

2
src/store/modules/multipleTab.ts

@ -22,7 +22,7 @@ export interface MultipleTabState {
function handleGotoPage(router: Router) { function handleGotoPage(router: Router) {
const go = useGo(router) const go = useGo(router)
go(unref(router.currentRoute).path, true) go(unref(router.currentRoute).fullPath, true)
} }
const getToTarget = (tabItem: RouteLocationNormalized) => { const getToTarget = (tabItem: RouteLocationNormalized) => {