From 42b81b98cf01734d4a2cf4a17bd2ef4c0f4746ff Mon Sep 17 00:00:00 2001 From: Hunlongyu Date: Mon, 19 Oct 2020 17:42:00 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=9E=20=E4=BF=AE=E5=A4=8D=20Film=20?= =?UTF-8?q?=E8=A7=86=E5=9B=BE=E6=8A=A5=E9=94=99=20BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Film.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/Film.vue b/src/components/Film.vue index e470365..8312846 100644 --- a/src/components/Film.vue +++ b/src/components/Film.vue @@ -123,8 +123,6 @@ export default { class: false, classList: false, search: false, - img: true, - table: false, find: false }, sites: [], @@ -391,13 +389,11 @@ export default { }, changeView () { if (this.view === 'Film') { - if (this.show.img) { + if (this.setting.view === 'picture') { this.$refs.waterfall.refresh() } this.getPage().then(() => { this.infiniteId += 1 - if (this.show.img || this.show.table) { - } }) } }, @@ -467,7 +463,7 @@ export default { this.show.class = true this.searchContents = [] this.show.find = false - if (this.show.img) { + if (this.setting.view === 'picture') { this.$refs.waterfall.refresh() } }