This commit is contained in:
luke 2025-06-20 11:24:01 +08:00
parent f74f74bd2e
commit 46ada21f38

View File

@ -82,7 +82,7 @@ deleteBtn.onclick = () => {
if (!confirm("删除后文件将无法访问或检索,是否确认删除?")) return; if (!confirm("删除后文件将无法访问或检索,是否确认删除?")) return;
fetch(API_DELETE, { fetch(API_DELETE, {
method: "DELETE", method: "POST",
headers: { headers: {
"Content-Type": "application/json" "Content-Type": "application/json"
}, },