Skip to content

Commit 8fe5e97

Browse files
committed
build
1 parent 4d5eb68 commit 8fe5e97

14 files changed

+64
-37
lines changed

dist/vue-upload-component.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ declare const _default: import("vue").DefineComponent<{
168168
forId(): string;
169169
iMaximum(): number;
170170
iExtensions(): RegExp | undefined;
171+
iDirectory(): any;
171172
}, {
172173
newId(): string;
173174
clear(): true;

dist/vue-upload-component.js

Lines changed: 17 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-upload-component.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-upload-component.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-upload-component.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-upload-component.part.js

Lines changed: 17 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-upload-component.part.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-upload-component.ssr.js

Lines changed: 15 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-upload-component.ssr.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/dist/docs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/dist/docs.js.LICENSE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/*!
2020
* Name: vue-upload-component
2121
* Component URI: https://github.com/lian-yue/vue-upload-component#readme
22-
* Version: 3.1.3
22+
* Version: 3.1.5
2323
* Author: LianYue
2424
* License: Apache-2.0
2525
* Description: Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter
@@ -28,7 +28,7 @@
2828
/*!
2929
Name: vue-upload-component
3030
Component URI: https://github.com/lian-yue/vue-upload-component#readme
31-
Version: 3.1.2
31+
Version: 3.1.4
3232
Author: LianYue
3333
License: Apache-2.0
3434
Description: Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter

docs/dist/docs.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/views/examples/Full.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ export default {
496496
497497
// Filter php html js file
498498
// 过滤 php html js 文件
499-
if (/\.(php5?|html?|jsx?)$/i.test(newFile.name)) {
499+
if (/\.(php5?|html?|jsx?)$/i.test(newFile.name) && newFile.type !== "text/directory") {
500500
return prevent()
501501
}
502502
@@ -561,7 +561,7 @@ export default {
561561
// beforeSend
562562
563563
// min size
564-
if (newFile.size >= 0 && this.minSize > 0 && newFile.size < this.minSize) {
564+
if (newFile.size >= 0 && this.minSize > 0 && newFile.size < this.minSize && newFile.type !== "text/directory") {
565565
this.$refs.upload.update(newFile, { error: 'size' })
566566
}
567567
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-upload-component",
33
"description": "Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter",
4-
"version": "3.1.3",
4+
"version": "3.1.5",
55
"author": "LianYue",
66
"scripts": {
77
"dev": "cross-env NODE_ENV=development webpack serve --hot",

0 commit comments

Comments
 (0)