Skip to content

Commit f45a552

Browse files
committed
build
1 parent 9ae5172 commit f45a552

9 files changed

+35
-16
lines changed

dist/vue-upload-component.js

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Name: vue-upload-component
3-
* Version: 2.8.8
3+
* Version: 2.8.9
44
* Author: LianYue
55
*/
66
(function (global, factory) {
@@ -238,7 +238,8 @@
238238
body: Object.assign(this.startBody, {
239239
phase: 'start',
240240
mime_type: this.fileType,
241-
size: this.fileSize
241+
size: this.fileSize,
242+
name: this.fileName
242243
})
243244
}).then(function (res) {
244245
if (res.status !== 'success') {
@@ -417,6 +418,16 @@
417418
return this.file.size;
418419
}
419420

421+
/**
422+
* Gets the file size
423+
*/
424+
425+
}, {
426+
key: 'fileName',
427+
get: function get() {
428+
return this.file.name;
429+
}
430+
420431
/**
421432
* Gets action (url) to upload the file
422433
*/
@@ -2044,4 +2055,3 @@
20442055
return src;
20452056

20462057
})));
2047-
//# sourceMappingURL=vue-upload-component.js.map

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: 2 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: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Name: vue-upload-component
3-
* Version: 2.8.8
3+
* Version: 2.8.9
44
* Author: LianYue
55
*/
66
(function (global, factory) {
@@ -238,7 +238,8 @@
238238
body: Object.assign(this.startBody, {
239239
phase: 'start',
240240
mime_type: this.fileType,
241-
size: this.fileSize
241+
size: this.fileSize,
242+
name: this.fileName
242243
})
243244
}).then(function (res) {
244245
if (res.status !== 'success') {
@@ -417,6 +418,16 @@
417418
return this.file.size;
418419
}
419420

421+
/**
422+
* Gets the file size
423+
*/
424+
425+
}, {
426+
key: 'fileName',
427+
get: function get() {
428+
return this.file.name;
429+
}
430+
420431
/**
421432
* Gets action (url) to upload the file
422433
*/
@@ -2024,4 +2035,3 @@
20242035
return src;
20252036

20262037
})));
2027-
//# sourceMappingURL=vue-upload-component.part.js.map

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.

docs/dist/index.js

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

docs/dist/index.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.

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": "2.8.8",
4+
"version": "2.8.9",
55
"author": "LianYue",
66
"scripts": {
77
"dev": "cross-env NODE_ENV=development webpack-dev-server",

0 commit comments

Comments
 (0)