From 6afc76f974c9b08426503af6713d253bef0b22e7 Mon Sep 17 00:00:00 2001 From: Aicirou <2643053021@qq.com> Date: Tue, 7 Jul 2020 22:45:03 +0800 Subject: [PATCH] :bug:Fix image file actions does not work #100 --- src/views/page/GoList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/page/GoList.vue b/src/views/page/GoList.vue index e4ab061..eddda64 100644 --- a/src/views/page/GoList.vue +++ b/src/views/page/GoList.vue @@ -271,7 +271,7 @@ export default { }); return; } - if (file.mimeType.startsWith("image/")) { + if (file.mimeType.startsWith("image/") && target === "view") { this.viewer = true; this.$nextTick(() => { let index = this.images.findIndex((item) => item.path === file.path);