From 60a468a213f41176fdde62900bb3d8f621966acf Mon Sep 17 00:00:00 2001 From: jmal Date: Mon, 3 Jun 2024 17:10:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=E6=8E=92=E5=BA=8F=E6=96=B9=E5=BC=8F=E5=90=8E=E4=B8=8D=E4=BC=9A?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=88=B7=E6=96=B0=20#150?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ShowFile/ShowFile.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index 26be6ed..9a92b45 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -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() } } },