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; }