feat: 统一 Admin 主列表分页 (#64)

This commit is contained in:
chengma
2026-08-09 21:51:20 +08:00
parent 5c9ebd968c
commit 155dd3b4a2
23 changed files with 549 additions and 120 deletions
+2 -1
View File
@@ -211,7 +211,8 @@
slot.innerHTML = "<div class='modal-body'>正在加载…</div>";
openModal(modal);
fetch(base + "?id=" + encodeURIComponent(row.getAttribute("data-detail-id")), {
var separator = base.indexOf("?") === -1 ? "?" : "&";
fetch(base + separator + "id=" + encodeURIComponent(row.getAttribute("data-detail-id")), {
headers: { "X-Requested-With": "fetch" }
})
.then(function (resp) {