From a2dd3ee236f022a0c5606f6be362e71a3257a559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Thu, 15 Dec 2022 14:57:38 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E6=96=87=E4=BB=B6=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E7=BB=84=E4=BB=B6=E9=80=89=E6=8B=A9=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=9C=AA=E5=93=8D=E5=BA=94=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FileUpload/index.vue | 26 +++++++++++++------------- src/components/ImageUpload/index.vue | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue index e727e2b..fc4f86f 100644 --- a/src/components/FileUpload/index.vue +++ b/src/components/FileUpload/index.vue @@ -4,7 +4,7 @@ multiple :action="uploadFileUrl" :before-upload="handleBeforeUpload" - :file-list="fileList" + v-model:file-list="fileList" :limit="limit" :on-error="handleUploadError" :on-exceed="handleExceed" @@ -15,8 +15,7 @@ :headers="headers" :auto-upload="autoUpload" class="upload-file-uploader" - ref="upload" - > + ref="upload">