!3538 feat(#I61GSV): set the IsPopover default value to true the component in the table cell

* chore: bump version 7.0.2
* feat: Table 内置组件单元格模板启用 IsPopover 参数
This commit is contained in:
Argo 2022-11-16 06:53:38 +00:00
parent 2b0621f14f
commit 7b2a662c49
2 changed files with 7 additions and 1 deletions

View File

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

View File

@ -414,6 +414,12 @@ public static class Utility
{
builder.AddMultipleAttributes(17, item.ComponentParameters);
}
// 设置 IsPopover
if (componentType.GetPropertyByName(nameof(Select<string>.IsPopover)) != null)
{
builder.AddAttribute(18, nameof(Select<string>.IsPopover), true);
}
builder.CloseComponent();
}