🎞 修复 Film 视图报错 BUG

This commit is contained in:
Hunlongyu
2020-10-19 17:42:00 +08:00
parent da7dfed5ba
commit 42b81b98cf

View File

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