From 19d79ab055dc125cf8242bb222194ba22a64eaa4 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Mon, 10 Nov 2025 16:14:01 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E8=A7=A6=E6=91=B8?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 触摸设备取消拖动选中文件 --- resources/assets/js/pages/manage/file.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/resources/assets/js/pages/manage/file.vue b/resources/assets/js/pages/manage/file.vue index 5eeab4c3b..f7a24a1f7 100644 --- a/resources/assets/js/pages/manage/file.vue +++ b/resources/assets/js/pages/manage/file.vue @@ -1205,6 +1205,9 @@ export default { }, onFileListPointerDown(event) { + if (this.windowTouch) { + return; + } if (this.tableMode === 'table') { return; } @@ -1273,6 +1276,9 @@ export default { }, onFileListPointerMove(event) { + if (this.windowTouch) { + return; + } if (!this.dragSelecting || !this.dragSelectStart) { return; } @@ -1305,6 +1311,9 @@ export default { }, onFileListPointerUp() { + if (this.windowTouch) { + return; + } if (this.dragSelecting && this.dragSelectRect) { this.updateDragSelection(this.dragSelectRect); } @@ -1319,6 +1328,9 @@ export default { }, onFileListPointerLeave(event) { + if (this.windowTouch) { + return; + } if (!this.dragSelecting) { return; }