diff --git a/src/BootstrapBlazor.Server/appsettings.json b/src/BootstrapBlazor.Server/appsettings.json index 181660cb1..2dd13e5d8 100644 --- a/src/BootstrapBlazor.Server/appsettings.json +++ b/src/BootstrapBlazor.Server/appsettings.json @@ -26,7 +26,7 @@ "AdminUrl": "https://admin.blazor.zone", "ImageLibUrl": "https://imgs.blazor.zone", "WasmUrl": "https://wasm.blazor.zone", - "TotalCount": 80 + "TotalCount": 90 }, "Themes": { "Motronic (已集成)": "_content/BootstrapBlazor/css/motronic.min.css", diff --git a/src/BootstrapBlazor.Shared/Locales/en.json b/src/BootstrapBlazor.Shared/Locales/en.json index 3b7913475..90eb52c70 100644 --- a/src/BootstrapBlazor.Shared/Locales/en.json +++ b/src/BootstrapBlazor.Shared/Locales/en.json @@ -1,11 +1,11 @@ { "BootstrapBlazor.Shared.App": { + "Title": "Bootstrap Blazor enterprise-level UI component library", "Reload": "Reload", "ErrorMessage": "An unhandled exception has occurred. See browser dev tools for details." }, "BootstrapBlazor.Shared.Pages.Index": { "BodyClassString": "welcome-body-en", - "Title": "Bootstrap Blazor enterprise-level UI component library", "HeaderTitle": "Bootstrap style Blazor UI component library", "HeaderDesc": "Based on the Bootstrap style library, it is carefully built, and {0} a variety of commonly used components have been added to bring you an extraordinary feeling for rapid development projects", "HeaderBody": "The ", diff --git a/src/BootstrapBlazor.Shared/Locales/zh.json b/src/BootstrapBlazor.Shared/Locales/zh.json index 71c6258f3..b1054d6c3 100644 --- a/src/BootstrapBlazor.Shared/Locales/zh.json +++ b/src/BootstrapBlazor.Shared/Locales/zh.json @@ -1,11 +1,11 @@ { "BootstrapBlazor.Shared.App": { + "Title": "Bootstrap Blazor - 企业级 UI 组件库", "Reload": "重新加载", "ErrorMessage": "发生了未处理的异常。有关详细信息,请参见浏览器开发工具。" }, "BootstrapBlazor.Shared.Pages.Index": { "BodyClassString": "welcome-body", - "Title": "Bootstrap Blazor - 企业级 UI 组件库", "HeaderTitle": "Bootstrap 风格的 Blazor UI 组件库", "HeaderDesc": "基于 Bootstrap 样式库精心打造,并且额外增加了 {0} 多种常用的组件,为您快速开发项目带来非一般的感觉", "HeaderBody": "致力于打造全网", diff --git a/src/BootstrapBlazor.Shared/Pages/Index.razor b/src/BootstrapBlazor.Shared/Pages/Index.razor index 4bac82c0d..55b52a95f 100644 --- a/src/BootstrapBlazor.Shared/Pages/Index.razor +++ b/src/BootstrapBlazor.Shared/Pages/Index.razor @@ -3,8 +3,6 @@ @page "/index" @page "/home" - -
diff --git a/src/BootstrapBlazor.Shared/Pages/Samples/Table/TablesDynamicExcel.razor b/src/BootstrapBlazor.Shared/Pages/Samples/Table/TablesDynamicExcel.razor index 06bab7a68..5de80ea76 100644 --- a/src/BootstrapBlazor.Shared/Pages/Samples/Table/TablesDynamicExcel.razor +++ b/src/BootstrapBlazor.Shared/Pages/Samples/Table/TablesDynamicExcel.razor @@ -12,13 +12,13 @@ - +
DataTableDynamicContext = new(UserData, (context, col) =>
 {
     if (col.GetFieldName() == nameof(Foo.Education))
     {
         col.ComponentType = typeof(Select<string>);
-        col.Items = typeof(EnumEducation).ToSelectList(new SelectedItem("", "请选择"));
+        col.Items = typeof(EnumEducation).ToSelectList(new SelectedItem("", "未设置"));
     }
 });
@@ -77,6 +77,9 @@
protected override void OnInitialized()
 {
+    // 获得内置 OnValueChanged 回调
+    var method = DataTableDynamicContext.OnValueChanged;
+
     DataTableDynamicContext.OnValueChanged = async (model, col, val) =>
     {
         // 调用内部提供的方法