commit
03e4749238
@ -1530,6 +1530,7 @@ export default {
|
|||||||
const container = document.querySelector('.dashboard-container')
|
const container = document.querySelector('.dashboard-container')
|
||||||
let clientWidth = container.clientWidth
|
let clientWidth = container.clientWidth
|
||||||
this.clientHeight = document.documentElement.clientHeight - this.lessClientHeight
|
this.clientHeight = document.documentElement.clientHeight - this.lessClientHeight
|
||||||
|
console.log('containerResize', clientWidth, this.clientHeight)
|
||||||
this.gridItemWidth = 125
|
this.gridItemWidth = 125
|
||||||
if (this.queryFileType === 'image') {
|
if (this.queryFileType === 'image') {
|
||||||
this.gridItemWidth = 165
|
this.gridItemWidth = 165
|
||||||
@ -1553,7 +1554,6 @@ export default {
|
|||||||
}
|
}
|
||||||
this.getFileList()
|
this.getFileList()
|
||||||
}
|
}
|
||||||
|
|
||||||
// 使列表可拖拽
|
// 使列表可拖拽
|
||||||
this.rowDrop()
|
this.rowDrop()
|
||||||
this.darwRectangle()
|
this.darwRectangle()
|
||||||
@ -3047,7 +3047,7 @@ export default {
|
|||||||
if (this.listModeSearch) {
|
if (this.listModeSearch) {
|
||||||
this.searchFile(this.searchFileName)
|
this.searchFile(this.searchFileName)
|
||||||
} else {
|
} else {
|
||||||
this.containerResize()
|
this.getFileList()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user