From e6500ca15a1252043dfcc69016cfb21bb3c107bd Mon Sep 17 00:00:00 2001 From: Jachin Date: Wed, 9 Aug 2023 11:15:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E5=A4=8DdeleteArticle?= =?UTF-8?q?=20api=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 295e2c41747602e43bf50121d033cdcacfec100b --- src/api/article.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/article.ts b/src/api/article.ts index f2277b4c..2547a4bc 100644 --- a/src/api/article.ts +++ b/src/api/article.ts @@ -83,6 +83,6 @@ export function deleteArticle(id: number) { return request({ url: "/api/v1/article/delete", method: "post", - params: { id }, + data: { id }, }); }