pull/1/head
LiuJiaNan 2024-02-23 11:22:53 +08:00
parent c5f137a2f1
commit af9cdad62e
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ const fnSubmit = debounce(
}, },
{ atBegin: true } { atBegin: true }
); );
const fnUploadImage = async (HIDDEN_ID, files) => { const fnUploadImage = async (HIDDEN_ID, files = []) => {
const formData = new FormData(); const formData = new FormData();
for (let i = 0; i < files.length; i++) { for (let i = 0; i < files.length; i++) {
formData.append("FFILE", files[i]); formData.append("FFILE", files[i]);