!3529 feat(#I60WMR): remove IsOnlyRenderActiveTab parameter on RibbonTab component

* chore: bump version 7.0.1-beta05
* feat: 移除 IsOnlyRenderActiveTab 参数
This commit is contained in:
Argo 2022-11-13 15:29:20 +00:00
parent c5b3e9495a
commit d8d22debd7
3 changed files with 2 additions and 8 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<Version>7.0.1-beta04</Version>
<Version>7.0.1-beta05</Version>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">

View File

@ -3,7 +3,7 @@
<div @attributes="@AdditionalAttributes" id="@Id" class="@HeaderClassString">
<div class="ribbon-header">
<Tab IsBorderCard="true" IsOnlyRenderActiveTab="true" OnClickTab="OnClickTab">
<Tab IsBorderCard="true" OnClickTab="OnClickTab">
@foreach (var item in GetItems())
{
<TabItem Text="@item.Text">

View File

@ -10,12 +10,6 @@ namespace BootstrapBlazor.Components;
[JSModuleAutoLoader("ribbon-tab", JSObjectReference = true)]
public partial class RibbonTab
{
/// <summary>
/// 获得/设置 是否仅渲染当前 Tab 默认 true
/// </summary>
[Parameter]
public bool IsOnlyRenderActiveTab { get; set; } = true;
/// <summary>
/// 获得/设置 是否显示悬浮小箭头 默认 false 不显示
/// </summary>