commit
03e4749238
@ -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()
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user