master
lianyue 7 years ago
parent 229c5830f4
commit f82e00393d

@ -1,6 +1,6 @@
/*!
* Name: vue-upload-component
* Version: 2.8.13
* Version: 2.8.14
* Author: LianYue
*/
(function (global, factory) {
@ -574,8 +574,11 @@
var script = {
methods: {
change: function change(e) {
this.$destroy();
this.$parent.addInputFile(e.target);
e.target.value = '';
if (!e.target.files) {
// ie9 fix #219
this.$destroy();
// eslint-disable-next-line
new this.constructor({
parent: this.$parent,
@ -583,6 +586,7 @@
});
}
}
}
};
/* script */
@ -1950,7 +1954,7 @@
/* style */
var __vue_inject_styles__$1 = function (inject) {
if (!inject) return;
inject("data-v-9553968e_0", { source: "\n.file-uploads{overflow:hidden;position:relative;text-align:center;display:inline-block\n}\n.file-uploads.file-uploads-html4 input[type=file],.file-uploads.file-uploads-html5 label{opacity:0;font-size:20em;z-index:1;top:0;left:0;right:0;bottom:0;position:absolute;width:100%;height:100%\n}\n.file-uploads.file-uploads-html4 label,.file-uploads.file-uploads-html5 input[type=file]{overflow:hidden;position:fixed;width:1px;height:1px;z-index:-1;opacity:0\n}", map: undefined, media: undefined });
inject("data-v-37fa7525_0", { source: "\n.file-uploads{overflow:hidden;position:relative;text-align:center;display:inline-block\n}\n.file-uploads.file-uploads-html4 input[type=file],.file-uploads.file-uploads-html5 label{background:#fff;opacity:0;font-size:20em;z-index:1;top:0;left:0;right:0;bottom:0;position:absolute;width:100%;height:100%\n}\n.file-uploads.file-uploads-html4 label,.file-uploads.file-uploads-html5 input[type=file]{background:rgba(255,255,255,0);overflow:hidden;position:fixed;width:1px;height:1px;z-index:-1;opacity:0\n}", map: undefined, media: undefined });
};
/* scoped */
var __vue_scope_id__$1 = undefined;

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 @@
.file-uploads{overflow:hidden;position:relative;text-align:center;display:inline-block
}
.file-uploads.file-uploads-html4 input[type=file],.file-uploads.file-uploads-html5 label{opacity:0;font-size:20em;z-index:1;top:0;left:0;right:0;bottom:0;position:absolute;width:100%;height:100%
.file-uploads.file-uploads-html4 input[type=file],.file-uploads.file-uploads-html5 label{background:#fff;opacity:0;font-size:20em;z-index:1;top:0;left:0;right:0;bottom:0;position:absolute;width:100%;height:100%
}
.file-uploads.file-uploads-html4 label,.file-uploads.file-uploads-html5 input[type=file]{overflow:hidden;position:fixed;width:1px;height:1px;z-index:-1;opacity:0
.file-uploads.file-uploads-html4 label,.file-uploads.file-uploads-html5 input[type=file]{background:rgba(255,255,255,0);overflow:hidden;position:fixed;width:1px;height:1px;z-index:-1;opacity:0
}

@ -1,6 +1,6 @@
/*!
* Name: vue-upload-component
* Version: 2.8.13
* Version: 2.8.14
* Author: LianYue
*/
(function (global, factory) {
@ -574,8 +574,11 @@
var script = {
methods: {
change: function change(e) {
this.$destroy();
this.$parent.addInputFile(e.target);
e.target.value = '';
if (!e.target.files) {
// ie9 fix #219
this.$destroy();
// eslint-disable-next-line
new this.constructor({
parent: this.$parent,
@ -583,6 +586,7 @@
});
}
}
}
};
/* script */

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",
"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.13",
"version": "2.8.14",
"author": "LianYue",
"scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server",

Loading…
Cancel
Save