mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 11:00:39 +00:00
fix arrow function when is just one file in MediaPreview
This commit is contained in:
@@ -1,27 +1,11 @@
|
|||||||
{
|
{
|
||||||
"/js/main.js": "/js/main.js",
|
"/js/main.js": "/js/main.js",
|
||||||
"/css/app.css": "/css/app.css",
|
"/css/app.css": "/css/app.css",
|
||||||
"/js/main.6e61b5140c8320eabbda.hot-update.js": "/js/main.6e61b5140c8320eabbda.hot-update.js",
|
"/js/main.1e37c7b25acd36f7eda9.hot-update.js": "/js/main.1e37c7b25acd36f7eda9.hot-update.js",
|
||||||
"/js/main.2f3be0d7bb920d89e3f7.hot-update.js": "/js/main.2f3be0d7bb920d89e3f7.hot-update.js",
|
"/js/main.8dba352fe9551e10fe92.hot-update.js": "/js/main.8dba352fe9551e10fe92.hot-update.js",
|
||||||
"/js/main.5f2859afe9a0fc807c14.hot-update.js": "/js/main.5f2859afe9a0fc807c14.hot-update.js",
|
"/js/main.2067a539e7fd47de9e8b.hot-update.js": "/js/main.2067a539e7fd47de9e8b.hot-update.js",
|
||||||
"/js/main.dde1cb883c5dd8023970.hot-update.js": "/js/main.dde1cb883c5dd8023970.hot-update.js",
|
"/js/main.2f57ea87830cf952c235.hot-update.js": "/js/main.2f57ea87830cf952c235.hot-update.js",
|
||||||
"/js/main.03f988dfc402f8de6153.hot-update.js": "/js/main.03f988dfc402f8de6153.hot-update.js",
|
"/js/main.8f99a2048dd222012eea.hot-update.js": "/js/main.8f99a2048dd222012eea.hot-update.js",
|
||||||
"/js/main.e1da77c63fd62b865820.hot-update.js": "/js/main.e1da77c63fd62b865820.hot-update.js",
|
"/js/main.dc3de7faec7bd4b74e73.hot-update.js": "/js/main.dc3de7faec7bd4b74e73.hot-update.js",
|
||||||
"/js/main.26f504b3598d20331516.hot-update.js": "/js/main.26f504b3598d20331516.hot-update.js",
|
"/js/main.abe8591d01cb790f28ef.hot-update.js": "/js/main.abe8591d01cb790f28ef.hot-update.js"
|
||||||
"/js/main.0bf3c0331d282064f648.hot-update.js": "/js/main.0bf3c0331d282064f648.hot-update.js",
|
|
||||||
"/js/main.5fcb6fdbf17d1bc77140.hot-update.js": "/js/main.5fcb6fdbf17d1bc77140.hot-update.js",
|
|
||||||
"/js/main.b7f8b140489b6f84b5fa.hot-update.js": "/js/main.b7f8b140489b6f84b5fa.hot-update.js",
|
|
||||||
"/js/main.072990b3c71796c0890e.hot-update.js": "/js/main.072990b3c71796c0890e.hot-update.js",
|
|
||||||
"/js/main.647feaaaa324a4c0a90c.hot-update.js": "/js/main.647feaaaa324a4c0a90c.hot-update.js",
|
|
||||||
"/js/main.df8ce05016498d3f7fe5.hot-update.js": "/js/main.df8ce05016498d3f7fe5.hot-update.js",
|
|
||||||
"/js/main.e53af339d2e561120030.hot-update.js": "/js/main.e53af339d2e561120030.hot-update.js",
|
|
||||||
"/js/main.79e7901acb9aaa7f3bd0.hot-update.js": "/js/main.79e7901acb9aaa7f3bd0.hot-update.js",
|
|
||||||
"/js/main.f93eb4cc730060c8b4c8.hot-update.js": "/js/main.f93eb4cc730060c8b4c8.hot-update.js",
|
|
||||||
"/js/main.15c2a08e6be31a440ac8.hot-update.js": "/js/main.15c2a08e6be31a440ac8.hot-update.js",
|
|
||||||
"/js/main.fd70e2b0906329f2f8c8.hot-update.js": "/js/main.fd70e2b0906329f2f8c8.hot-update.js",
|
|
||||||
"/js/main.1517c69f49f7cbf58556.hot-update.js": "/js/main.1517c69f49f7cbf58556.hot-update.js",
|
|
||||||
"/js/main.31d2a937b7ed1c38abf3.hot-update.js": "/js/main.31d2a937b7ed1c38abf3.hot-update.js",
|
|
||||||
"/js/main.7d748799750837d3d3d1.hot-update.js": "/js/main.7d748799750837d3d3d1.hot-update.js",
|
|
||||||
"/js/main.b6eeec4c5f2cdef792b1.hot-update.js": "/js/main.b6eeec4c5f2cdef792b1.hot-update.js",
|
|
||||||
"/js/main.91ed64d2faf14a03d117.hot-update.js": "/js/main.91ed64d2faf14a03d117.hot-update.js"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
id="fast-preview-menu"
|
id="fast-preview-menu"
|
||||||
class="fast-menu-icon"
|
class="fast-menu-icon"
|
||||||
@click="menuOpen"
|
@click="menuOpen"
|
||||||
v-if="$checkPermission('master', 'editor')"
|
v-if="$checkPermission(['master', 'editor'])"
|
||||||
>
|
>
|
||||||
<more-horizontal-icon class="more-icon" size="14">
|
<more-horizontal-icon class="more-icon" size="14">
|
||||||
</more-horizontal-icon>
|
</more-horizontal-icon>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
/>
|
/>
|
||||||
<div class="video-wrapper" v-if="fileInfoDetail.type === 'video' && currentFile.file_url">
|
<div class="video-wrapper" v-if="fileInfoDetail.type === 'video' && currentFile.file_url">
|
||||||
<video
|
<video
|
||||||
|
|
||||||
:src="currentFile.file_url"
|
:src="currentFile.file_url"
|
||||||
class="video"
|
class="video"
|
||||||
controlsList="nodownload"
|
controlsList="nodownload"
|
||||||
@@ -70,6 +69,7 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
if(this.sliderFile.length > 1 ) {
|
||||||
events.$on('filePreviewAction:next', () => {
|
events.$on('filePreviewAction:next', () => {
|
||||||
this.currentIndex += 1;
|
this.currentIndex += 1;
|
||||||
this.slideType = 'next'
|
this.slideType = 'next'
|
||||||
@@ -84,6 +84,7 @@ export default {
|
|||||||
this.currentIndex = this.sliderFile.length - 1;
|
this.currentIndex = this.sliderFile.length - 1;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.filteredFiles();
|
this.filteredFiles();
|
||||||
@@ -111,9 +112,6 @@ export default {
|
|||||||
this.sliderFile = [];
|
this.sliderFile = [];
|
||||||
this.filteredFiles();
|
this.filteredFiles();
|
||||||
}
|
}
|
||||||
if(this.sliderFile.length == 0 ) {
|
|
||||||
events.$emit('fileFullPreview:hide');
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
data(newValue, oldValue) {
|
data(newValue, oldValue) {
|
||||||
//MOVE ITEM HANDLING
|
//MOVE ITEM HANDLING
|
||||||
@@ -239,8 +237,6 @@ export default {
|
|||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
box-shadow: 0 8px 40px rgba($text, 0.3);
|
box-shadow: 0 8px 40px rgba($text, 0.3);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user