wip
This commit is contained in:
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -124,7 +124,7 @@
|
||||
};
|
||||
|
||||
this.close = () => {
|
||||
this.unmount();
|
||||
this.$destroy();
|
||||
};
|
||||
</script>
|
||||
</mk-init-following>
|
||||
|
@ -32,7 +32,7 @@
|
||||
bottom: '-64px',
|
||||
duration: 500,
|
||||
easing: 'easeOutQuad',
|
||||
complete: () => this.unmount()
|
||||
complete: () => this.$destroy()
|
||||
});
|
||||
}, 6000);
|
||||
});
|
||||
|
@ -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 = () => {
|
||||
|
Reference in New Issue
Block a user