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

Co-authored-by: lichi <lichi@ilinecn.com>
This commit is contained in:
Norton 2023-05-10 13:59:06 +08:00 committed by GitHub
parent b97d588392
commit 60a3b6a9f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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