We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58c8190 commit 4638df1Copy full SHA for 4638df1
src/vue-core-image-upload.vue
@@ -105,6 +105,11 @@
105
console.warn('FILE IS TOO LARGER MAX FILE IS ' + formatSize);
106
return this.__dispatch('errorhandle','FILE IS TOO LARGER MAX FILE IS ' + formatSize);
107
}
108
+
109
+ if (this.multipleSize > 0 && e.target.files.length > this.multipleSize) {
110
+ console.warn('FILE NUM IS LARGER THAN ' + this.multipleSize);
111
+ return this.__dispatch('errorhandle', 'FILE NUM OVERLOAD');
112
+ }
113
114
this.files = e.target.files;
115
if (this.crop || this.resize) {
0 commit comments