diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index b938b24..0102e21 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -881,9 +881,9 @@ export default { this.vmode = this.$route.query.vmode } else { if (this.defaultGrid) { - this.vmode === 'grid' + this.vmode = 'grid' } else { - this.vmode === 'list' + this.vmode = 'list' } } if (this.vmode === 'list') {