fixed:修复操作页签后 打开页面需要使用fullPath,否则可能会导致参数丢失引起数据加载异常。 (#2768)
Co-authored-by: lichi <lichi@ilinecn.com>
This commit is contained in:
parent
b97d588392
commit
60a3b6a9f9
|
|
@ -23,7 +23,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) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue