From a1c8f6bc55fca205bfb5bb3d014d5c67ee45e1f9 Mon Sep 17 00:00:00 2001 From: zayn <972858472@qq.com> Date: Mon, 30 Jun 2025 16:04:18 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=BB=E8=BE=91=E9=94=99=E8=AF=AF=E8=B0=83?= =?UTF-8?q?=E6=95=B4=20(#2052)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/view/layout/aside/headMode.vue | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/web/src/view/layout/aside/headMode.vue b/web/src/view/layout/aside/headMode.vue index d29f849e9..78318ba4e 100644 --- a/web/src/view/layout/aside/headMode.vue +++ b/web/src/view/layout/aside/headMode.vue @@ -107,21 +107,13 @@ }) if (index === route.name) return if (index.indexOf('http://') > -1 || index.indexOf('https://') > -1) { - if (index === 'Iframe') { - query.url = decodeURIComponent(index) - router.push({ - name: 'Iframe', - query, - params - }) - return - } else { window.open(index, '_blank') return - } - } else { - router.push({ name: index, query, params }) } + if (index === 'Iframe') { + query.url = decodeURIComponent(index) + } + router.push({ name: index, query, params }) }