diff --git a/src/blazor/admin/BootstrapAdmin.Web/BootstrapAdmin.db b/src/blazor/admin/BootstrapAdmin.Web/BootstrapAdmin.db index e82319d9..7cb39240 100644 Binary files a/src/blazor/admin/BootstrapAdmin.Web/BootstrapAdmin.db and b/src/blazor/admin/BootstrapAdmin.Web/BootstrapAdmin.db differ diff --git a/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Settings.razor.cs b/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Settings.razor.cs index 53771cd1..a74af980 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Settings.razor.cs +++ b/src/blazor/admin/BootstrapAdmin.Web/Pages/Admin/Settings.razor.cs @@ -48,7 +48,7 @@ public partial class Settings base.OnInitialized(); IsDemo = DictService.IsDemo(); - Logins = DictService.GetLogins().ToSelectedItemList(); + Logins = DictService.GetLogins().ToSelectedItemList().OrderBy(i => i.Value).ToList(); Themes = DictService.GetThemes().ToSelectedItemList(); IPLocators = DictService.GetIpLocators().ToSelectedItemList(); IPLocators.Insert(0, new SelectedItem("", "未选择"));