master v2.0.0-beta.4
git 9 years ago
parent ae6907a892
commit 1ef765d7f4

2
dist/example.js vendored

@ -731,7 +731,7 @@
}, },
beforeDestroy: function beforeDestroy() { beforeDestroy: function beforeDestroy() {
this.active = false; this.active = false;
this.files = []; this.files.splice(0, this.files.length);
}, },
render: function render(h) { render: function render(h) {
return h( return h(

File diff suppressed because one or more lines are too long

@ -742,7 +742,7 @@ return /******/ (function(modules) { // webpackBootstrap
}, },
beforeDestroy: function beforeDestroy() { beforeDestroy: function beforeDestroy() {
this.active = false; this.active = false;
this.files = []; this.files.splice(0, this.files.length);
}, },
render: function render(h) { render: function render(h) {
return h( return h(

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, Support for multiple file uploads, progress, html5, html4, support ie9", "description": "Vue.js file upload component, Support for multiple file uploads, progress, html5, html4, support ie9",
"version": "2.0.0-beta.3", "version": "2.0.0-beta.4",
"author": "LianYue", "author": "LianYue",
"scripts": { "scripts": {
"dev": "webpack-dev-server --inline --hot", "dev": "webpack-dev-server --inline --hot",

@ -129,7 +129,7 @@ export default {
// //
beforeDestroy() { beforeDestroy() {
this.active = false; this.active = false;
this.files = []; this.files.splice(0, this.files.length);
}, },
render (h) { render (h) {

Loading…
Cancel
Save