From 5922f02f6ced62a25c38e476bc07ac689ef4ac4e Mon Sep 17 00:00:00 2001 From: Harry Date: Sat, 22 May 2021 18:52:44 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E4=B8=8A=E4=BC=A0=E6=8E=A7=E4=BB=B6?= =?UTF-8?q?=E5=9B=9E=E8=B0=83=E8=8E=B7=E5=8F=96=E5=A4=B1=E8=B4=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fes-ui/src/components/upload/upload.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fes-ui/src/components/upload/upload.vue b/packages/fes-ui/src/components/upload/upload.vue index b49f161b..cfeb2200 100644 --- a/packages/fes-ui/src/components/upload/upload.vue +++ b/packages/fes-ui/src/components/upload/upload.vue @@ -130,7 +130,7 @@ export default { change(e) { this.$emit('on-change', e); if (this.isIE(9)) return this.iePost(e); - const files = e.target.files; + const files = JSON.parse(JSON.stringify(e.target.files)); const len = files.length; const validateArray = []; for (let i = 0; i < len; i++) {