diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index 1ab89e5..06ec334 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -2690,6 +2690,9 @@ export default { this.path = basePath + path this.path = this.path.replace(/\\/g, '/') this.path = this.path.replace(/\/\//g, '/') + if (this.path === '/') { + this.path = '' + } this.$store.dispatch('updateMessage', {event: 'storageTypeChange', data: storageType}) },