!1879 fix(#I4B6X8): make the Title of website correct

* chore: 更新组件个数
* doc: 更新 Excel 示例文档
* fix: 修复标题栏未显示问题
This commit is contained in:
Argo 2021-09-21 06:20:35 +00:00
parent b7bc255049
commit 6b7ca93002
5 changed files with 8 additions and 7 deletions

View File

@ -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",

View File

@ -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 <code>Bootstrap</code> 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 ",

View File

@ -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": "基于 <code>Bootstrap</code> 样式库精心打造,并且额外增加了 {0} 多种常用的组件,为您快速开发项目带来非一般的感觉",
"HeaderBody": "致力于打造全网",

View File

@ -3,8 +3,6 @@
@page "/index"
@page "/home"
<Title Text="@Localizer["Title"]"></Title>
<section class="home-section">
<div class="welcome container">
<div class="row g-3">

View File

@ -12,13 +12,13 @@
<BlockLogger @ref="Trace" class="mt-3" />
</Block>
<Block Title="枚举类型" Introduction="设置列 <code>Data</code> 值,将枚举类型渲染成 <code>Select</code> 组件" Name="Enum">
<Block Title="枚举类型" Introduction="设置列 <code>Items</code> 值,将枚举类型渲染成 <code>Select</code> 组件" Name="Enum">
<Pre>DataTableDynamicContext = new(UserData, (context, col) =>
{
if (col.GetFieldName() == nameof(Foo.Education))
{
col.ComponentType = typeof(Select&lt;string&gt;);
col.Items = typeof(EnumEducation).ToSelectList(new SelectedItem("", "请选择"));
col.Items = typeof(EnumEducation).ToSelectList(new SelectedItem("", "未设置"));
}
});</Pre>
<div>
@ -77,6 +77,9 @@
<Pre>protected override void OnInitialized()
{
// 获得内置 OnValueChanged 回调
var method = DataTableDynamicContext.OnValueChanged;
DataTableDynamicContext.OnValueChanged = async (model, col, val) =>
{
// 调用内部提供的方法