Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
lian-yue committed Nov 8, 2022
1 parent 4d5eb68 commit 8fe5e97
Show file tree
Hide file tree
Showing 14 changed files with 64 additions and 37 deletions.
1 change: 1 addition & 0 deletions dist/vue-upload-component.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ declare const _default: import("vue").DefineComponent<{
forId(): string;
iMaximum(): number;
iExtensions(): RegExp | undefined;
iDirectory(): any;
}, {
newId(): string;
clear(): true;
Expand Down
25 changes: 17 additions & 8 deletions dist/vue-upload-component.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-upload-component.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/vue-upload-component.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-upload-component.min.js.map

Large diffs are not rendered by default.

25 changes: 17 additions & 8 deletions dist/vue-upload-component.part.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-upload-component.part.js.map

Large diffs are not rendered by default.

22 changes: 15 additions & 7 deletions dist/vue-upload-component.ssr.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-upload-component.ssr.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/docs.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dist/docs.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/*!
* Name: vue-upload-component
* Component URI: https://github.com/lian-yue/vue-upload-component#readme
* Version: 3.1.3
* Version: 3.1.5
* Author: LianYue
* License: Apache-2.0
* 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
Expand All @@ -28,7 +28,7 @@
/*!
Name: vue-upload-component
Component URI: https://github.com/lian-yue/vue-upload-component#readme
Version: 3.1.2
Version: 3.1.4
Author: LianYue
License: Apache-2.0
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
Expand Down
2 changes: 1 addition & 1 deletion docs/dist/docs.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/views/examples/Full.vue
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ export default {
// Filter php html js file
// 过滤 php html js 文件
if (/\.(php5?|html?|jsx?)$/i.test(newFile.name)) {
if (/\.(php5?|html?|jsx?)$/i.test(newFile.name) && newFile.type !== "text/directory") {
return prevent()
}
Expand Down Expand Up @@ -561,7 +561,7 @@ export default {
// beforeSend
// min size
if (newFile.size >= 0 && this.minSize > 0 && newFile.size < this.minSize) {
if (newFile.size >= 0 && this.minSize > 0 && newFile.size < this.minSize && newFile.type !== "text/directory") {
this.$refs.upload.update(newFile, { error: 'size' })
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-upload-component",
"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",
"version": "3.1.3",
"version": "3.1.5",
"author": "LianYue",
"scripts": {
"dev": "cross-env NODE_ENV=development webpack serve --hot",
Expand Down

0 comments on commit 8fe5e97

Please sign in to comment.