fix: 修复更改排序方式后不会自动刷新 #150

This commit is contained in:
jmal 2024-06-03 17:10:31 +08:00
parent 85c7789b66
commit 60a468a213

View File

@ -1530,6 +1530,7 @@ export default {
const container = document.querySelector('.dashboard-container')
let clientWidth = container.clientWidth
this.clientHeight = document.documentElement.clientHeight - this.lessClientHeight
console.log('containerResize', clientWidth, this.clientHeight)
this.gridItemWidth = 125
if (this.queryFileType === 'image') {
this.gridItemWidth = 165
@ -1553,7 +1554,6 @@ export default {
}
this.getFileList()
}
// 使列表可拖拽
this.rowDrop()
this.darwRectangle()
@ -3047,7 +3047,7 @@ export default {
if (this.listModeSearch) {
this.searchFile(this.searchFileName)
} else {
this.containerResize()
this.getFileList()
}
}
},