mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-05 19:31:21 +08:00
fix:改造时调整rowDrop触发时机
This commit is contained in:
@@ -314,6 +314,7 @@ export default {
|
||||
})
|
||||
},
|
||||
updateViewMode () {
|
||||
if (this.setting.historyViewMode === 'table') setTimeout(() => { this.rowDrop() }, 100)
|
||||
setTimeout(() => { if (this.$refs.historyWaterfall) this.$refs.historyWaterfall.refresh() }, 1000)
|
||||
setting.find().then(res => {
|
||||
res.historyViewMode = this.setting.historyViewMode
|
||||
@@ -322,7 +323,6 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
this.rowDrop()
|
||||
window.addEventListener('resize', () => { }, true)
|
||||
},
|
||||
created () {
|
||||
|
||||
@@ -463,6 +463,7 @@ export default {
|
||||
})
|
||||
},
|
||||
updateViewMode () {
|
||||
if (this.setting.starViewMode === 'table') setTimeout(() => { this.rowDrop() }, 100)
|
||||
setTimeout(() => { if (this.$refs.starWaterfall) this.$refs.starWaterfall.refresh() }, 1000)
|
||||
setting.find().then(res => {
|
||||
res.starViewMode = this.setting.starViewMode
|
||||
@@ -474,7 +475,6 @@ export default {
|
||||
this.getFavorites()
|
||||
},
|
||||
mounted () {
|
||||
this.rowDrop()
|
||||
window.addEventListener('resize', () => { }, true)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user