条件单页改为默认看历史,点新建才展开下发表单。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user