[improvement][headless-fe] Revamped the interaction for semantic modeling routing and successfully implemented the switching between dimension and dataset management. (#1934)

Co-authored-by: tristanliu <tristanliu@tencent.com>
This commit is contained in:
Jun Zhang
2024-11-30 20:03:41 +08:00
committed by GitHub
parent 593597fe26
commit 82c63a7f22
42 changed files with 1889 additions and 997 deletions

View File

@@ -509,3 +509,9 @@ export const replaceRouteParams = (template: string, values: Record<string, stri
return values[key] !== undefined ? values[key] : match;
});
};
export function openNewPage(url: string) {
const newWindow: any = window.open();
newWindow.opener = null;
newWindow.location.href = url;
}