From 9aa47a6b3bab70291362f8593ee0a777e2fb88af Mon Sep 17 00:00:00 2001 From: Frost-ZX Date: Fri, 7 Feb 2025 17:33:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B7=A5=E5=85=B7=E7=AE=B1/=E6=96=B0?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E4=B8=AD=E6=89=93=E5=BC=80):=20=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E5=8F=98=E9=87=8F=E5=A3=B0=E6=98=8E=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ToolboxView/Other/OpenNewWindow.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/ToolboxView/Other/OpenNewWindow.vue b/src/views/ToolboxView/Other/OpenNewWindow.vue index 194e7ae..afed032 100644 --- a/src/views/ToolboxView/Other/OpenNewWindow.vue +++ b/src/views/ToolboxView/Other/OpenNewWindow.vue @@ -76,10 +76,10 @@ const data = reactive({ /** 打开窗口 */ function openWindow() { - var link = data.url || 'https://github.com/Frost-ZX'; - var width = data.width ?? 400; - var height = data.height ?? 300; - var features = `height=${height}, width=${width}, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=yes, status=yes`; + let link = data.url || 'https://github.com/Frost-ZX'; + let width = data.width ?? 400; + let height = data.height ?? 300; + let features = `height=${height}, width=${width}, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=yes, status=yes`; window.open(link, '_blank', features);