Browse Source

# 639 数据文件管理-无法上传文件

Mr. Robot 3 months ago
parent
commit
062fc2e6df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/Tree/index.vue

+ 1 - 1
src/components/Tree/index.vue

@@ -81,7 +81,7 @@ const handleCheckChange = (data: any, checked: boolean, indeterminate: boolean)
   let checkedNodes = treeRef.value?.getCheckedNodes() || [];
 
   fileList.value = checkedNodes
-    .filter((node: { isDirectory: boolean }) => !node.isDirectory)  // 过滤掉 isDirectory 为 false 的节点
+    // .filter((node: { isDirectory: boolean }) => !node.isDirectory)  // 过滤掉 isDirectory 为 false 的节点
     .map((node: { name: string; path: string; isDirectory: boolean }) => ({
       name: node.name,
       file: node.path,