测试博客提交修正

This commit is contained in:
Guarp 2025-03-08 16:47:44 +08:00
parent ddb90c3d90
commit 23461ae3df

View File

@ -243,8 +243,8 @@ const submitBlog = async () => {
const formData = new FormData();
formData.append("title", title);
formData.append("content", content);
formData.append("allow_comments", allowComments);
formData.append("allowComments", allowComments);
formData.append("draft", true);
images.forEach((imgData, index) => {
formData.append(`images[${index}]`, imgData.file); //