Commit faf319ea authored by 潘栩锋's avatar 潘栩锋 🚴

优化 界面组件保存的json文件 换行显示

parent 2801cd82
...@@ -69,7 +69,7 @@ namespace MultiLayout.UiModule ...@@ -69,7 +69,7 @@ namespace MultiLayout.UiModule
{ {
try try
{ {
string json = Newtonsoft.Json.JsonConvert.SerializeObject(this); string json = Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
File.WriteAllText(FilePath, json); File.WriteAllText(FilePath, json);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment