修复大括号位置

This commit is contained in:
ShakeFlower committed 2024-11-17 08:47:16 +08:00
1 parent 73e7fea888
commit 43aeb84d39
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@ namespace H5MotaUpdate.ViewModels
Convert(jsonObject);
}
StringBuilder newJsContent = new StringBuilder();
newJsContent.Append("var " + DATANAME + " = ");
newJsContent.Append("var " + DATANAME + " = \n"); // 大括号在第二行
newJsContent.Append(jsonObject.ToString());
File.WriteAllText(destPath, newJsContent.ToString());
}