From 59040b9861463c8785cf2ffac3acf53d05374052 Mon Sep 17 00:00:00 2001 From: bplok20010 Date: Sun, 5 Jul 2020 10:39:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=B8=AA=E4=BD=8E?= =?UTF-8?q?=E7=BA=A7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/asset-manifest.json | 4 ++-- docs/index.html | 2 +- .../{index.fb7f5363.chunk.css => index.e154e0b3.chunk.css} | 0 .../js/{index.fb7f5363.chunk.js => index.e154e0b3.chunk.js} | 2 +- package.json | 2 +- src/index.tsx | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) rename docs/static/css/{index.fb7f5363.chunk.css => index.e154e0b3.chunk.css} (100%) rename docs/static/js/{index.fb7f5363.chunk.js => index.e154e0b3.chunk.js} (97%) diff --git a/docs/asset-manifest.json b/docs/asset-manifest.json index 29440a4..d01c38d 100644 --- a/docs/asset-manifest.json +++ b/docs/asset-manifest.json @@ -1,6 +1,6 @@ { - "index.css": "static/css/index.fb7f5363.chunk.css", - "index.js": "static/js/index.fb7f5363.chunk.js", + "index.css": "static/css/index.e154e0b3.chunk.css", + "index.js": "static/js/index.e154e0b3.chunk.js", "runtime-index.js": "static/js/runtime-index.92eae014.js", "static/js/2.ebf3e006.chunk.js": "static/js/2.ebf3e006.chunk.js", "index.html": "index.html" diff --git a/docs/index.html b/docs/index.html index 8206cab..7c5cb14 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -Upload
\ No newline at end of file +Upload
\ No newline at end of file diff --git a/docs/static/css/index.fb7f5363.chunk.css b/docs/static/css/index.e154e0b3.chunk.css similarity index 100% rename from docs/static/css/index.fb7f5363.chunk.css rename to docs/static/css/index.e154e0b3.chunk.css diff --git a/docs/static/js/index.fb7f5363.chunk.js b/docs/static/js/index.e154e0b3.chunk.js similarity index 97% rename from docs/static/js/index.fb7f5363.chunk.js rename to docs/static/js/index.e154e0b3.chunk.js index 2c0512e..0024f65 100644 --- a/docs/static/js/index.fb7f5363.chunk.js +++ b/docs/static/js/index.e154e0b3.chunk.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{118:function(e,n,t){},119:function(e,n,t){},139:function(e,n,t){"use strict";t.r(n);var a=t(0),l=t.n(a),r=t(82),i=t.n(r),o=(t(118),t(119),t(43),t(74),t(5)),c=t.n(o),s=t(16),u=t.n(s),p=t(4),d=t.n(p),h=(t(77),t(121),t(29),t(123),t(127),t(61),t(79),t(131),t(132),t(136),t(137),t(45)),m=t.n(h),f=t(83),v=t.n(f),y=t(84),g=t.n(y);function b(e,n,t){return void 0===n&&(n=[]),void 0===t&&(t=0),n.length>t?Promise.resolve():e.isDirectory?new Promise((function(a){e.createReader().readEntries((function(e){var l=[];e.forEach((function(e){l.push(b(e,n,t))})),Promise.all(l).then((function(){return a()}))}),(function(){return a()}))})):new Promise((function(a){e.file((function(l){n.length>=t||(e.fullPath&&!l.webkitRelativePath&&(Object.defineProperties(l,{webkitRelativePath:{writable:!0}}),l.webkitRelativePath=e.fullPath.replace(/^\//,""),Object.defineProperties(l,{webkitRelativePath:{writable:!1}})),n.push(l)),a()}),(function(){return a()}))}))}var E=function(e){function n(){for(var n,t=arguments.length,a=new Array(t),r=0;rt?Promise.resolve():e.isDirectory?new Promise((function(a){e.createReader().readEntries((function(e){var l=[];e.forEach((function(e){l.push(b(e,n,t))})),Promise.all(l).then((function(){return a()}))}),(function(){return a()}))})):new Promise((function(a){e.file((function(l){n.length>=t||(e.fullPath&&!l.webkitRelativePath&&(Object.defineProperties(l,{webkitRelativePath:{writable:!0}}),l.webkitRelativePath=e.fullPath.replace(/^\//,""),Object.defineProperties(l,{webkitRelativePath:{writable:!1}})),n.push(l)),a()}),(function(){return a()}))}))}var E=function(e){function n(){for(var n,t=arguments.length,a=new Array(t),r=0;r { const items = e.target.files || []; const files: RWFile[] = []; - const fileLen = Math.max(maxFiles!, items.length); + const fileLen = Math.min(maxFiles!, items.length); for (let i = 0; i < fileLen; i++) { files.push(items[i]); @@ -187,7 +187,7 @@ export class Upload extends React.Component { } }); } else { - const fileLen = Math.max(maxFiles!, items.length); + const fileLen = Math.min(maxFiles!, items.length); for (let i = 0; i < fileLen; i++) { files.push(items[i]); }