feat: 统一 Admin 主列表分页 (#64)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user