This commit is contained in:
こぴなたみぽ
2018-02-07 18:21:37 +09:00
parent 07efc8e150
commit 1a6a72591f
30 changed files with 54 additions and 67 deletions

View File

@ -58,12 +58,12 @@
<script>
this.cancel = () => {
this.trigger('canceled');
this.unmount();
this.$destroy();
};
this.ok = () => {
this.trigger('selected', this.$refs.browser.folder);
this.unmount();
this.$destroy();
};
</script>
</mk-drive-folder-selector>

View File

@ -71,18 +71,18 @@
this.$refs.browser.on('selected', file => {
this.trigger('selected', file);
this.unmount();
this.$destroy();
});
});
this.cancel = () => {
this.trigger('canceled');
this.unmount();
this.$destroy();
};
this.ok = () => {
this.trigger('selected', this.files);
this.unmount();
this.$destroy();
};
</script>
</mk-drive-selector>

View File

@ -124,7 +124,7 @@
};
this.close = () => {
this.unmount();
this.$destroy();
};
</script>
</mk-init-following>

View File

@ -32,7 +32,7 @@
bottom: '-64px',
duration: 500,
easing: 'easeOutQuad',
complete: () => this.unmount()
complete: () => this.$destroy()
});
}, 6000);
});

View File

@ -255,7 +255,7 @@
poll: this.poll ? this.$refs.poll.get() : undefined
}).then(data => {
this.trigger('post');
this.unmount();
this.$destroy();
}).catch(err => {
this.update({
wait: false
@ -265,7 +265,7 @@
this.cancel = () => {
this.trigger('cancel');
this.unmount();
this.$destroy();
};
this.kao = () => {