From 502f91152756d88a86baba5399dbc84a074480b8 Mon Sep 17 00:00:00 2001 From: scrin <2277317060@qq.com> Date: Sun, 30 Nov 2025 14:57:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=9B=B7=E8=BE=BE=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/index.vue b/src/views/index.vue index 9328089..5080a95 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1708,7 +1708,7 @@ const dialog1Form = ref({}) const uploadFiles = async (e) => { const file = e.file const files = new FormData() - files.append(file.name, e.file); + files.append('files', e.file); const res = await UpdateImage(files) dialog1Form.fileList.value.push({