修复大括号位置
This commit is contained in:
1 parent
73e7fea888
commit
43aeb84d39
1 file changed
+1
-1
@@ -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());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user