From 082a69cd9dc6f7ccd8f2e6adb98cd085f815856d Mon Sep 17 00:00:00 2001 From: JJMdzh Date: Sun, 25 May 2025 15:52:02 +0800 Subject: [PATCH] Update main.js (#917) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 给路径文件夹读取,开放更多的层数 --- repo/js/背包材料统计/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo/js/背包材料统计/main.js b/repo/js/背包材料统计/main.js index c2bbf02a..f29414a3 100644 --- a/repo/js/背包材料统计/main.js +++ b/repo/js/背包材料统计/main.js @@ -1105,7 +1105,7 @@ function matchImageAndGetCategory(resourceName, imagesDir) { const materialCategories = readMaterialCategories(materialDir); // 递归读取路径信息文件夹 - const pathingFilePaths = readAllFilePaths(pathingDir, 0, 1, ['.json']); + const pathingFilePaths = readAllFilePaths(pathingDir, 0, 3, ['.json']); // 将路径和资源名绑定,避免重复提取