From 0af32c74856ff42f94ac22dffe27ff72d3793e1e Mon Sep 17 00:00:00 2001 From: hooray <304327508@qq.com> Date: Wed, 10 Aug 2022 20:09:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20FileUpload=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FileUpload/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue index 05a68611..56156120 100644 --- a/src/components/FileUpload/index.vue +++ b/src/components/FileUpload/index.vue @@ -56,8 +56,8 @@ function beforeUpload(file) { function onExceed() { ElMessage.warning('文件上传超过限制') } -function onSuccess(res, file) { - emit('on-success', res, file) +function onSuccess(res, file, fileList) { + emit('on-success', res, file, fileList) }