Fix: 结构图不存在的 Key 如果有翻译,不要重新保存到文件(4.24 修改
This commit is contained in:
parent
d3f78f40d8
commit
693eae199f
|
|
@ -50,7 +50,7 @@ export function generateLanguageJson(
|
|||
for (const p of Object.keys(flat)) {
|
||||
if (!added.has(p)) {
|
||||
// 在结构图中未找到路径时也要补上,避免丢数据
|
||||
setByPath(p, flat[p]!);
|
||||
// setByPath(p, flat[p]!);
|
||||
}
|
||||
}
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue