From 04d4d37bba470391fcf27d3f3c603d2b34d0eaf4 Mon Sep 17 00:00:00 2001 From: Guarp Date: Sat, 8 Mar 2025 16:53:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=8D=9A=E5=AE=A2=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Editor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Editor.vue b/src/pages/Editor.vue index c19c003..3302bb5 100644 --- a/src/pages/Editor.vue +++ b/src/pages/Editor.vue @@ -243,7 +243,7 @@ const submitBlog = async () => { const formData = new FormData(); formData.append("title", title); formData.append("content", content); - formData.append("allowComments", allowComments); + formData.append("allow_comments", allowComments); formData.append("draft", true); images.forEach((imgData, index) => {