RenderTreeItem => item =>
+ @@item.Name@item.Order@GetApp(item.Application)
;
+}
\ No newline at end of file
diff --git a/src/blazor/admin/BootstrapAdmin.Web/Components/NavigationTree.razor.cs b/src/blazor/admin/BootstrapAdmin.Web/Components/NavigationTree.razor.cs
new file mode 100644
index 00000000..7fcf7728
--- /dev/null
+++ b/src/blazor/admin/BootstrapAdmin.Web/Components/NavigationTree.razor.cs
@@ -0,0 +1,33 @@
+using BootstrapAdmin.Web.Core;
+using BootstrapAdmin.Web.Extensions;
+
+namespace BootstrapAdmin.Web.Components;
+
+public partial class NavigationTree
+{
+ [NotNull]
+ private List? InternalItems { get; set; }
+
+ [Inject]
+ [NotNull]
+ private IDict? DictService { get; set; }
+
+ ///
+ ///
+ ///
+ protected override void OnInitialized()
+ {
+ base.OnInitialized();
+
+ InternalItems = Items.ToTreeItemList(Value, RenderTreeItem);
+ }
+
+ private Task OnTreeItemChecked(List items)
+ {
+ Value = items.Select(i => i.Key!.ToString()!).ToList();
+ OnValueChanged(Value);
+ return Task.CompletedTask;
+ }
+
+ private string GetApp(string app) => DictService.GetApps().FirstOrDefault(i => i.Value == app)?.Text ?? "未设置";
+}