fix:历史收藏列表模式拖拽调序

This commit is contained in:
buvta
2020-12-15 14:23:31 +08:00
parent 6dbcb8e621
commit 1d0123d69f
2 changed files with 2 additions and 0 deletions

View File

@@ -361,6 +361,7 @@ export default {
}
},
mounted () {
if (this.setting.historyViewMode === 'table') setTimeout(() => { this.rowDrop() }, 100)
addEventListener('keydown', code => { if (code.keyCode === 16) this.shiftDown = true })
addEventListener('keyup', code => { if (code.keyCode === 16) this.shiftDown = false })
window.addEventListener('resize', () => {

View File

@@ -505,6 +505,7 @@ export default {
this.getFavorites()
},
mounted () {
if (this.setting.starViewMode === 'table') setTimeout(() => { this.rowDrop() }, 100)
addEventListener('keydown', code => { if (code.keyCode === 16) this.shiftDown = true })
addEventListener('keyup', code => { if (code.keyCode === 16) this.shiftDown = false })
window.addEventListener('resize', () => {