From e6ccf8be1f5dc40ed6f43b8f7aff277372b32261 Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Fri, 12 Apr 2024 12:08:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E7=9B=AE=E5=BD=95=E5=8C=85=E5=90=AB=E5=9B=9E?= =?UTF-8?q?=E6=94=B6=E7=AB=99=E7=9B=AE=E5=BD=95=E8=83=BD=E8=BF=9B=E5=85=A5?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20(#4484)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/host/file-management/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/host/file-management/index.vue b/frontend/src/views/host/file-management/index.vue index f05e2883c..d6252c957 100644 --- a/frontend/src/views/host/file-management/index.vue +++ b/frontend/src/views/host/file-management/index.vue @@ -447,7 +447,7 @@ const handleSearchResult = (res: ResultData) => { const open = async (row: File.File) => { if (row.isDir) { - if (row.name == '.1panel_clash') { + if (row.name.indexOf('.1panel_clash') > -1) { MsgWarning(i18n.global.t('file.clashOpenAlert')); return; }