条件单页改为默认看历史,点新建才展开下发表单。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-05 19:34:00 +08:00
parent 747ec62e34
commit e2a61a202e
4 changed files with 33 additions and 9 deletions
+4
View File
@@ -370,6 +370,10 @@
const d = await r.json();
if (status) status.textContent = d.msg || "";
alert(d.msg || (d.ok ? "已下发" : "失败"));
if (d.ok) {
const tog = document.getElementById("cond-add-toggle");
if (tog) tog.checked = false;
}
refresh();
}