mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-05 21:20:06 +00:00
🐛 修复 Windows WebTerminal
This commit is contained in:
@@ -163,6 +163,7 @@ function post(path, params, method = 'post') {
|
||||
const form = document.createElement('form');
|
||||
form.method = method;
|
||||
form.action = path;
|
||||
form.target = "_blank";
|
||||
|
||||
for (const key in params) {
|
||||
if (params.hasOwnProperty(key)) {
|
||||
@@ -176,6 +177,7 @@ function post(path, params, method = 'post') {
|
||||
|
||||
document.body.appendChild(form);
|
||||
form.submit();
|
||||
document.removeChild(form);
|
||||
}
|
||||
|
||||
function addOrEditServer(server, conf) {
|
||||
|
||||
Reference in New Issue
Block a user