This commit is contained in:
syuilo 2018-09-15 21:53:04 +09:00
parent 7b2b7d1456
commit 25b0a93acd
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
20 changed files with 35 additions and 31 deletions

View file

@ -31,15 +31,15 @@ export default Vue.extend({
},
onSelected(file) {
this.$emit('selected', file);
this.$destroy();
this.destroyDom();
},
cancel() {
this.$emit('canceled');
this.$destroy();
this.destroyDom();
},
ok() {
this.$emit('selected', this.files);
this.$destroy();
this.destroyDom();
}
}
});