fix: Fix the issue of abnormal panel redirection (#10638)

This commit is contained in:
ssongliu
2025-10-14 18:30:06 +08:00
committed by GitHub
parent cd154b13a9
commit bbc5b8b731
+4 -1
View File
@@ -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 () => {