From 7c885cad5b145ebf9f0346168b11c8107f50ea97 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sun, 19 Jun 2022 11:04:02 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E8=8F=9C=E5=8D=95=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/js/pages/manage/file.vue | 6 +++- resources/assets/sass/pages/page-file.scss | 34 ++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/resources/assets/js/pages/manage/file.vue b/resources/assets/js/pages/manage/file.vue index db819ef67..9a1bf98f6 100644 --- a/resources/assets/js/pages/manage/file.vue +++ b/resources/assets/js/pages/manage/file.vue @@ -79,6 +79,7 @@ :class="{ shear: shearIds.includes(item.id), highlight: selectIds.includes(item.id), + operation: contextMenuVisible && item.id === contextMenuItem.id, }" :data-id="item.id" v-longpress="handleLongpress" @@ -151,7 +152,10 @@ transfer>