# ------------------------ >8 ------------------------
# Do not touch the line above.
# Everything below will be removed.
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch master
# Your branch is ahead of 'github/master' by 1 commit.
#
# Changes to be committed:
#
# 	modified:   dist/vue-upload-component.js
# 	modified:   dist/vue-upload-component.js.map
# 	modified:   dist/vue-upload-component.min.js
# 	modified:   dist/vue-upload-component.min.js.map
# 	modified:   dist/vue-upload-component.part.js
# 	modified:   dist/vue-upload-component.part.js.map
# 	modified:   docs/dist/index.js
# 	modified:   docs/dist/index.js.map
# 	modified:   package.json
master
lianyue 7 years ago
parent 60d1064205
commit 5a7201e3d7

@ -1,6 +1,6 @@
/*! /*!
* Name: vue-upload-component * Name: vue-upload-component
* Version: 2.8.18 * Version: 2.8.19
* Author: LianYue * Author: LianYue
*/ */
(function (global, factory) { (function (global, factory) {
@ -577,9 +577,11 @@
change: function change(e) { change: function change(e) {
this.$parent.addInputFile(e.target); this.$parent.addInputFile(e.target);
if (e.target.files) { if (e.target.files) {
e.target.type = '';
e.target.value = ''; e.target.value = '';
if (!/safari/i.test(navigator.userAgent)) {
e.target.type = '';
e.target.type = 'file'; e.target.type = 'file';
}
} else { } else {
// ie9 fix #219 // ie9 fix #219
this.$destroy(); this.$destroy();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,6 +1,6 @@
/*! /*!
* Name: vue-upload-component * Name: vue-upload-component
* Version: 2.8.18 * Version: 2.8.19
* Author: LianYue * Author: LianYue
*/ */
(function (global, factory) { (function (global, factory) {
@ -577,9 +577,11 @@
change: function change(e) { change: function change(e) {
this.$parent.addInputFile(e.target); this.$parent.addInputFile(e.target);
if (e.target.files) { if (e.target.files) {
e.target.type = '';
e.target.value = ''; e.target.value = '';
if (!/safari/i.test(navigator.userAgent)) {
e.target.type = '';
e.target.type = 'file'; e.target.type = 'file';
}
} else { } else {
// ie9 fix #219 // ie9 fix #219
this.$destroy(); this.$destroy();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,7 +1,7 @@
{ {
"name": "vue-upload-component", "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", "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": "2.8.18", "version": "2.8.19",
"author": "LianYue", "author": "LianYue",
"scripts": { "scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server", "dev": "cross-env NODE_ENV=development webpack-dev-server",

Loading…
Cancel
Save