浏览代码

文件跳转到正确的地址去

John 1 年之前
父节点
当前提交
123faecb8a
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/pages/DuplicateFile/CalculateListPage.tsx
  2. 1 1
      src/pages/DuplicateFile/FilesManage.tsx

+ 1 - 1
src/pages/DuplicateFile/CalculateListPage.tsx

@@ -378,7 +378,7 @@ export default function CalculateListPage() {
             <FolderOpenOutlined
               onClick={() =>
                 openFileShowInExplorer(
-                  "/Users/sysadmin/Library/Application Support/com.hht.com/files_3.db",
+                    `${record.path}`
                 )
               }
             />

+ 1 - 1
src/pages/DuplicateFile/FilesManage.tsx

@@ -384,7 +384,7 @@ export default function FilesManage() {
             <FolderOpenOutlined
               onClick={() =>
                 openFileShowInExplorer(
-                  "/Users/sysadmin/Library/Application Support/com.hht.com/files_3.db",
+                    `${record.path}`
                 )
               }
             />