mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 06:46:24 +00:00
fix(web terminal) 修改web terminal初始窗口大小
代码缺陷,没有复用
This commit is contained in:
@@ -246,7 +246,7 @@
|
||||
content: new_url+data
|
||||
});
|
||||
*/
|
||||
window.open(new_url+data, '', 'width=628px, height=452px')
|
||||
window.open(new_url+data, '', 'width=628px, height=410px')
|
||||
}
|
||||
else {
|
||||
aUrl = '';
|
||||
@@ -295,7 +295,7 @@
|
||||
content: new_url
|
||||
});
|
||||
*/
|
||||
window.open(new_url+data, '', 'width=628px, height=452px');
|
||||
window.open(new_url+data, '', 'width=628px, height=410px');
|
||||
}
|
||||
|
||||
return false
|
||||
|
@@ -293,7 +293,7 @@
|
||||
content: new_url
|
||||
});
|
||||
*/
|
||||
window.open(new_url, '_blank', 'toolbar=yes, location=yes, copyhistory=yes, scrollbars=yes, width=628, height=400')
|
||||
window.open(new_url, '_blank', 'toolbar=yes, location=yes, copyhistory=yes, scrollbars=yes, width=628, height=380')
|
||||
|
||||
} else {
|
||||
/*
|
||||
|
Reference in New Issue
Block a user