mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-05 13:39:39 +08:00
!2367 fix(#I4SK0X): throw exception in EditorForm component cause by IsCheckboxList method
* chore: bump version beta10 * fix: 修复泛型类判断导致报异常错误
This commit is contained in:
parent
71ad4212fc
commit
97c3e181af
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>6.2.9-beta09</Version>
|
||||
<Version>6.2.9-beta10</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
|
||||
|
@ -430,7 +430,7 @@ public static class Utility
|
||||
var ret = false;
|
||||
if (componentType != null)
|
||||
{
|
||||
ret = componentType.GetGenericTypeDefinition() == typeof(CheckboxList<>);
|
||||
ret = componentType.IsGenericType && componentType.GetGenericTypeDefinition() == typeof(CheckboxList<>);
|
||||
}
|
||||
if (!ret)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user