🐛 前端小错误

This commit is contained in:
naiba
2021-08-19 10:42:47 +08:00
parent a3cbbe7a81
commit 59046a15bd
4 changed files with 4 additions and 5 deletions

View File

@@ -174,10 +174,9 @@ function post(path, params, method = 'post') {
form.appendChild(hiddenField);
}
}
document.body.appendChild(form);
form.submit();
document.removeChild(form);
document.body.removeChild(form);
}
function addOrEditServer(server, conf) {