🐛Fix image file actions does not work #100
This commit is contained in:
parent
cc5ab9ebd4
commit
6afc76f974
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user