From 3a951f764c206c463b9a02b10eb43c829a6b5d72 Mon Sep 17 00:00:00 2001 From: ZhangAo Date: Mon, 27 Apr 2026 17:31:29 +0800 Subject: [PATCH] u --- code/file-preview/custom-file/index.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/code/file-preview/custom-file/index.js b/code/file-preview/custom-file/index.js index 2be15b3b..885883d2 100644 --- a/code/file-preview/custom-file/index.js +++ b/code/file-preview/custom-file/index.js @@ -1239,13 +1239,7 @@ ${this.staticIconMap.delete} `; - - // 预览状态(使用class标识) - const isPreview = this.previewFiles.has(file._id); - - // 选中状态 - const isSelected = this.selectedFiles.has(file._id); - + return `