From d79a771fd2e675fd97f225a5c21850d071a95dd5 Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Fri, 8 Apr 2022 13:19:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E4=B8=8A=E4=BC=A0=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E5=80=BC=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/upload/components/index.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/modules/upload/components/index.vue b/src/modules/upload/components/index.vue index 15c5b34..b9794d7 100644 --- a/src/modules/upload/components/index.vue +++ b/src/modules/upload/components/index.vue @@ -383,7 +383,7 @@ function fileType(path: string) { // 更新 function update() { - const check = list.value.find((e) => e.url); + const check = list.value.find((e) => !e.url); if (!check) { emit("update:modelValue", list.value.map((e: Item) => e.url).join(",")); @@ -451,11 +451,7 @@ defineExpose({ } .is-drag { - margin: 5px; - } - - .un-drag { - margin: 5px; + margin: 0 0 5px 5px; } &--file {