!779 feat(#I2A2GG): Tab show close button by default in Layout

* fix: Layout 组件中使用 Tab 是默认开启 Close 按钮
* fix: Layout 模板中 Tab 组件默认开启 Close 功能
This commit is contained in:
Argo 2020-12-20 10:57:02 +08:00
parent 79a6c75441
commit 46ecd700cd

View File

@ -11,7 +11,7 @@
@if (UseTabSet)
{
<CascadingValue Value="this" IsFixed="true">
<Tab ClickTabToNavigator="true" ShowExtendButtons="true"></Tab>
<Tab ClickTabToNavigator="true" ShowExtendButtons="true" ShowClose="true"></Tab>
</CascadingValue>
}
else
@ -57,7 +57,7 @@
@if (UseTabSet)
{
<CascadingValue Value="this" IsFixed="true">
<Tab ClickTabToNavigator="true" ShowExtendButtons="true"></Tab>
<Tab ClickTabToNavigator="true" ShowExtendButtons="true" ShowClose="true"></Tab>
</CascadingValue>
}
else
@ -102,7 +102,7 @@
@if (UseTabSet)
{
<CascadingValue Value="this" IsFixed="true">
<Tab ClickTabToNavigator="true" ShowExtendButtons="true"></Tab>
<Tab ClickTabToNavigator="true" ShowExtendButtons="true" ShowClose="true"></Tab>
</CascadingValue>
}
else