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 `