diff --git a/repo/js/FullyAutoAndSemiAutoTools/main.js b/repo/js/FullyAutoAndSemiAutoTools/main.js index 020fb04dd..9518906ad 100644 --- a/repo/js/FullyAutoAndSemiAutoTools/main.js +++ b/repo/js/FullyAutoAndSemiAutoTools/main.js @@ -781,7 +781,7 @@ async function initRun(config_run) { return `${item.rootName}${separator}${item.parentName}${separator}${item.name}`; } // 然后处理 useParent 或 parentName 存在的情况 - if (useParent || item.parentName) { + if (useParent || (item.parentName && item.parentName !== item.rootName)) { return `${item.parentName}${separator}${item.name}`; } // 默认返回 name