Skip to content

Commit 09df92c

Browse files
committed
doc: 更新示例
1 parent 70d5458 commit 09df92c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BootstrapBlazor.Server/Components/Samples/Table/TablesColumn.razor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ protected override void OnInitialized()
4141
/// </summary>
4242
/// <param name="d"></param>
4343
/// <returns></returns>
44-
private static Task<string> IntFormatter(object? d)
44+
private static Task<string?> IntFormatter(object d)
4545
{
46-
var ret = "";
46+
string? ret = null;
4747
if (d is TableColumnContext<Foo, object?> data && data.Value != null)
4848
{
4949
var val = (int)data.Value;

0 commit comments

Comments
 (0)