Fix: 结构图不存在的 Key 如果有翻译,不要重新保存到文件(4.24 修改

This commit is contained in:
奇趣保罗 2026-05-11 18:17:45 +08:00
parent d3f78f40d8
commit 693eae199f
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ export function generateLanguageJson(
for (const p of Object.keys(flat)) { for (const p of Object.keys(flat)) {
if (!added.has(p)) { if (!added.has(p)) {
// 在结构图中未找到路径时也要补上,避免丢数据 // 在结构图中未找到路径时也要补上,避免丢数据
setByPath(p, flat[p]!); // setByPath(p, flat[p]!);
} }
} }
try { try {