From 6ea2928e4731b479e93d1f9032e6464ee7ac93bd Mon Sep 17 00:00:00 2001 From: jmal Date: Mon, 12 Apr 2021 22:56:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9A=E9=87=8D=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E6=97=B6=E7=A6=81=E6=AD=A2=E6=89=93=E5=BC=80=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ShowFile/ShowFile.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index 71cd5f4..7a25ba4 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -2994,6 +2994,9 @@ export default { }, // 点击文件或文件夹 fileClick(row) { + if (this.editingIndex === row.index){ + return + } this.openingFile = row if (row.isFolder) { this.editingIndex = -1