Fix: 结构图不存在的 Key 如果有翻译,不要重新保存到文件(4.24 修改
This commit is contained in:
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user