diff --git a/admin.html b/admin.html
index a8d2994..439aaba 100644
--- a/admin.html
+++ b/admin.html
@@ -1653,7 +1653,8 @@
openApiDialogForEdit: function (index) {
var actualIndex =
(this.apiPagination.currentPage - 1) * this.apiPagination.pageSize + index;
- var item = this.apiList[actualIndex];
+ var item = this.filteredApiList[actualIndex];
+ if (!item) return;
this.apiDialog.mode = "edit";
this.apiDialog.editingIndex = actualIndex;
this.apiDialog.form = {
@@ -1692,7 +1693,8 @@
removeApiItem: async function (index) {
var actualIndex =
(this.apiPagination.currentPage - 1) * this.apiPagination.pageSize + index;
- var item = this.apiList[actualIndex];
+ var item = this.filteredApiList[actualIndex];
+ if (!item) return;
try {
await this.$confirm("确定删除接口「" + item.name + "」?", "提示", {
confirmButtonText: "确定",
diff --git a/mock/你好33333333333_wr0mdksb.json b/mock/你好33333333333_wr0mdksb.json
new file mode 100644
index 0000000..9e26dfe
--- /dev/null
+++ b/mock/你好33333333333_wr0mdksb.json
@@ -0,0 +1 @@
+{}
\ No newline at end of file