fix
This commit is contained in:
parent
f74f74bd2e
commit
46ada21f38
@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user