From 0c569c03c165f5d4dfa8ef872ac4f065d051dcc8 Mon Sep 17 00:00:00 2001 From: qianlishi <1432731663@qq.com> Date: Sat, 14 May 2022 16:07:00 +0800 Subject: [PATCH] upload --- .../src/components/AnjiPlus/anji-upload.vue | 28 ++++--------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/report-ui/src/components/AnjiPlus/anji-upload.vue b/report-ui/src/components/AnjiPlus/anji-upload.vue index 3dc1a283..0d87b49c 100644 --- a/report-ui/src/components/AnjiPlus/anji-upload.vue +++ b/report-ui/src/components/AnjiPlus/anji-upload.vue @@ -6,23 +6,16 @@ :action="requestUrl" list-type="picture-card" :file-list="fileList" - :on-preview="handlePictureCardPreview" :on-remove="handleRemove" + :on-exceed="handleExceed" :on-success="handleSuccess" :show-file-list="true" :before-upload="handleBeforeUpload" - :class="fileList && fileList.length >= limit ? 'hide_box' : ''" >
- - -
- - -