Skip to content

Commit 085985c

Browse files
committed
refactor: 删除标签页时清空菜单配置项参数
1 parent 4a71e64 commit 085985c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/BootstrapBlazor/Components/Tab/Tab.razor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,8 @@ private void AddTabItem(Dictionary<string, object?> parameters, int? index = nul
674674
/// <param name="item"></param>
675675
public async Task RemoveTab(TabItem item)
676676
{
677+
Options.Reset();
678+
677679
if (OnCloseTabItemAsync != null && !await OnCloseTabItemAsync(item))
678680
{
679681
return;

0 commit comments

Comments
 (0)