From f12877b8e071f66925a84adb9e26407b1ae93c20 Mon Sep 17 00:00:00 2001 From: chenxi-20 <2465950588@qq.com> Date: Mon, 7 Apr 2025 10:02:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20[file-upload]=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=B2=A1=E6=9C=89=E5=90=8E=E7=BC=80=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=20(#3233?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/vue/src/upload-list/src/mobile-first.vue | 4 +++- packages/vue/src/upload-list/src/pc.vue | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/vue/src/upload-list/src/mobile-first.vue b/packages/vue/src/upload-list/src/mobile-first.vue index 786e472ac..75f74a6c0 100644 --- a/packages/vue/src/upload-list/src/mobile-first.vue +++ b/packages/vue/src/upload-list/src/mobile-first.vue @@ -74,7 +74,9 @@ .filter((item, i, arr) => arr.length - 1 > i || arr.length === 1) .join('.') }} - .{{ file.name.split('.')[file.name.split('.').length - 1] }} + .{{ file.name.split('.')[file.name.split('.').length - 1] }}
arr.length - 1 > i || arr.length === 1) .join('.') }} - .{{ file.name.split('.')[file.name.split('.').length - 1] }} + .{{ file.name.split('.')[file.name.split('.').length - 1] }}