Skip to content

Commit 62036ba

Browse files
committed
refactor: 代码格式化
1 parent 92827f8 commit 62036ba

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

src/components/BootstrapBlazor.CherryMarkdown/Components/CherryMarkdown/CherryMarkdown.razor.cs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,15 @@ protected override async Task OnAfterRenderAsync(bool firstRender)
106106
/// <inheritdoc/>
107107
/// </summary>
108108
/// <returns></returns>
109-
protected override Task InvokeInitAsync() => InvokeVoidAsync("init", Id, Interop,
110-
new { Value, IsSupportMath, IsViewer, Locale = Language, Editor = EditorSettings ?? new(), Toolbars = ToolbarSettings ?? new() },
111-
nameof(Upload));
109+
protected override Task InvokeInitAsync() => InvokeVoidAsync("init", Id, Interop, new
110+
{
111+
Value,
112+
IsSupportMath,
113+
IsViewer,
114+
Locale = Language,
115+
Editor = EditorSettings ?? new(),
116+
Toolbars = ToolbarSettings ?? new()
117+
}, nameof(Upload));
112118

113119
/// <summary>
114120
/// 文件上传回调

0 commit comments

Comments
 (0)