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() } }