From 43aeb84d39e6509f55ef345c8fbe8084e20d7b72 Mon Sep 17 00:00:00 2001 From: ShakeFlower Date: Sun, 17 Nov 2024 08:47:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=A7=E6=8B=AC=E5=8F=B7?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ViewModels/Migrator/DataJSMigrator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ViewModels/Migrator/DataJSMigrator.cs b/ViewModels/Migrator/DataJSMigrator.cs index 350c99c..6eea022 100644 --- a/ViewModels/Migrator/DataJSMigrator.cs +++ b/ViewModels/Migrator/DataJSMigrator.cs @@ -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()); }