From 094a5214f11b937259d2291f8139c4b4973dcfce Mon Sep 17 00:00:00 2001 From: tamaina Date: Sat, 6 Apr 2019 00:51:31 +0900 Subject: [PATCH] Re: fix drive file preview: Fix #4532, Fix #4577 (#4590) * :art: Re: fix drive file preview * clean * fix * fix --- .../views/components/drive-file-thumbnail.vue | 42 ++++++++++++------- .../views/components/drive.file-detail.vue | 4 +- 2 files changed, 28 insertions(+), 18 deletions(-) diff --git a/src/client/app/common/views/components/drive-file-thumbnail.vue b/src/client/app/common/views/components/drive-file-thumbnail.vue index b5a8249bf..faa727f3b 100644 --- a/src/client/app/common/views/components/drive-file-thumbnail.vue +++ b/src/client/app/common/views/components/drive-file-thumbnail.vue @@ -4,6 +4,7 @@ :src="file.url" :alt="file.name" :title="file.name" + @load="onThumbnailLoaded" v-if="detail && is === 'image'"/>