mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-07-27 08:40:26 +08:00
fix:海报模式film页面加载图片时来回切换页面偶尔有卡片被部分遮掩,其它页面是重新加载数据故而不用
This commit is contained in:
@@ -420,7 +420,11 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
view () {
|
||||
this.changeView()
|
||||
if (this.view === 'Film') {
|
||||
this.getAllSites()
|
||||
if (this.$refs.filmWaterfall) this.$refs.filmWaterfall.resize() // 瀑布插件resize和refresh功能相同,只是延时不同
|
||||
if (this.$refs.filmSearchWaterfall) this.$refs.filmSearchWaterfall.resize()
|
||||
}
|
||||
},
|
||||
searchTxt () {
|
||||
if (this.searchTxt === '清除历史记录...') {
|
||||
@@ -746,11 +750,6 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
changeView () {
|
||||
if (this.view === 'Film') {
|
||||
this.getAllSites()
|
||||
}
|
||||
},
|
||||
querySearch (queryString, cb) {
|
||||
var searchList = this.searchList.slice(0, -1)
|
||||
var results = queryString ? searchList.filter(this.createFilter(queryString)) : this.searchList
|
||||
|
||||
Reference in New Issue
Block a user