fix: film搜索切换回海报模式时部分卡片被遮掩显示不全的bug

This commit is contained in:
buvta
2020-12-13 15:01:33 +08:00
parent 325a7f3b0d
commit 74beb47ad5

View File

@@ -518,6 +518,7 @@ export default {
toggleViewMode () {
if (this.showFind) {
this.setting.searchViewMode = this.setting.searchViewMode === 'picture' ? 'table' : 'picture'
setTimeout(() => { if (this.$refs.filmSearchWaterfall) this.$refs.filmSearchWaterfall.refresh() }, 1000)
} else {
this.setting.view = this.setting.view === 'picture' ? 'table' : 'picture'
}