Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/BootstrapBlazor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>9.8.2-beta02</Version>
<Version>9.8.2-beta03</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/Components/Tab/Tab.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ public partial class Tab
public ITabHeader? TabHeader { get; set; }

/// <summary>
/// 获得/设置 是否开启全局异常捕获 默认 null 读取配置文件 EnableErrorLogger 值
/// 获得/设置 是否开启全局异常捕获 默认 null 读取配置文件 <see cref="BootstrapBlazorOptions.EnableErrorLogger"/>
/// </summary>
[Parameter]
public bool? EnableErrorLogger { get; set; }
Expand Down
4 changes: 4 additions & 0 deletions src/BootstrapBlazor/Components/Tab/TabItemContent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ class TabItemContent : IComponent, IHandlerException, IDisposable
[Parameter, NotNull]
public TabItem? Item { get; set; }

[CascadingParameter]
private Layout? Layout { get; set; }

[CascadingParameter, NotNull]
private Tab? TabSet { get; set; }

Expand Down Expand Up @@ -67,6 +70,7 @@ private void BuildRenderTree(RenderTreeBuilder builder)
_logger.Register(this);
return Task.CompletedTask;
}));
builder.AddAttribute(6, nameof(ErrorLogger.OnErrorHandleAsync), Layout?.OnErrorHandleAsync);
builder.CloseComponent();
}

Expand Down
Loading