mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 16:00:51 +00:00
fix: Fix the issue of abnormal panel redirection (#10638)
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user