From af9cdad62edb169e296eaeb55cba401e5dd8da8f Mon Sep 17 00:00:00 2001 From: LiuJiaNan Date: Fri, 23 Feb 2024 11:22:53 +0800 Subject: [PATCH] bug14254 --- .../safety_environmental/add.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/safety_environmental_management/safety_environmental/add.vue b/src/views/safety_environmental_management/safety_environmental/add.vue index 183d068..472aea6 100644 --- a/src/views/safety_environmental_management/safety_environmental/add.vue +++ b/src/views/safety_environmental_management/safety_environmental/add.vue @@ -446,7 +446,7 @@ const fnSubmit = debounce( }, { atBegin: true } ); -const fnUploadImage = async (HIDDEN_ID, files) => { +const fnUploadImage = async (HIDDEN_ID, files = []) => { const formData = new FormData(); for (let i = 0; i < files.length; i++) { formData.append("FFILE", files[i]);