Skip to content
Snippets Groups Projects
Commit 32fc6ae2 authored by syuilo's avatar syuilo
Browse files

Fix bug

parent 238cb007
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,9 @@ export default Vue.extend({
beforeDestroy() {
window.removeEventListener('resize', this.size);
},
activated() {
this.size();
},
methods: {
previewable(file) {
return file.type.startsWith('video') || file.type.startsWith('image');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment