Skip to content

Commit 1a777be

Browse files
committed
refactor: 重构 ToFlat 返回值数据结构
1 parent cd19ab6 commit 1a777be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/Extensions/TreeViewExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static class TreeViewExtensions
5050
/// <typeparam name="TItem"></typeparam>
5151
/// <param name="source"></param>
5252
/// <returns></returns>
53-
public static IEnumerable<TreeViewItem<TItem>> ToFlat<TItem>(this IEnumerable<TreeViewItem<TItem>> source)
53+
public static List<TreeViewItem<TItem>> ToFlat<TItem>(this IEnumerable<TreeViewItem<TItem>> source)
5454
{
5555
var rows = new List<TreeViewItem<TItem>>();
5656
if (source != null)

0 commit comments

Comments
 (0)