mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-01-06 01:08:16 +08:00
[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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user