add beforeDestroy

1.0 v0.1.11
git 10 years ago
parent 99e9a05ffb
commit 0e2cc62a41

5
dist/example.js vendored

@ -153,6 +153,11 @@
this._index = 0; this._index = 0;
this._files = {}; this._files = {};
}, },
beforeDestroy: function beforeDestroy() {
this.active = false;
this.files = [];
},
watch: { watch: {
files: function files(_files) { files: function files(_files) {

File diff suppressed because one or more lines are too long

@ -132,6 +132,11 @@ return /******/ (function(modules) { // webpackBootstrap
this._index = 0; this._index = 0;
this._files = {}; this._files = {};
}, },
beforeDestroy: function beforeDestroy() {
this.active = false;
this.files = [];
},
watch: { watch: {
files: function files(_files) { files: function files(_files) {

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
Loading…
Cancel
Save