From bbc5b8b73173e7b0ac823155d3df3682ccf51b1d Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Tue, 14 Oct 2025 18:30:06 +0800 Subject: [PATCH] fix: Fix the issue of abnormal panel redirection (#10638) --- frontend/src/views/home/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/home/index.vue b/frontend/src/views/home/index.vue index 1f49d1693..6cda4368b 100644 --- a/frontend/src/views/home/index.vue +++ b/frontend/src/views/home/index.vue @@ -500,7 +500,10 @@ const showSimpleNode = () => { }; const jumpPanel = (row: any) => { - window.open(row.addr, '_blank', 'noopener,noreferrer'); + let entrance = row.securityEntrance.startsWith('/') ? row.securityEntrance.slice(1) : row.securityEntrance; + entrance = entrance ? '/' + entrance : ''; + let addr = row.addr.endsWith('/') ? row.addr.slice(0, -1) : row.addr; + window.open(addr + entrance, '_blank', 'noopener,noreferrer'); }; const onLoadCurrentInfo = async () => {