fix(core): ctrl/cmd + click on add page button opens in new tab (#7701)

fix PD-1521
This commit is contained in:
pengx17
2024-08-05 03:11:47 +00:00
parent 0468355593
commit 9307acf0de
9 changed files with 168 additions and 74 deletions
@@ -4,7 +4,5 @@ export function popupWindow(target: string) {
? target
: runtimeConfig.serverUrlPrefix + target;
url.searchParams.set('redirect_uri', target);
console.log(url.href);
return window.open(url, '_blank', `noreferrer noopener`);
}