mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-05 05:29:47 +08:00
!2293 fix(#I4PSJO): advance search than has enum type property always has value even set CustomerSearchModel
* chore: bump version 6.2.2 * fix: 修复 SearchModel 包含枚举类型导致条件一直有默认值
This commit is contained in:
parent
2e4e96853c
commit
9f0328151d
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>6.2.1</Version>
|
||||
<Version>6.2.2</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
|
||||
|
@ -227,7 +227,7 @@ public partial class Table<TItem>
|
||||
{
|
||||
var searchs = new List<IFilterAction>();
|
||||
// 处理 SearchModel 条件
|
||||
if (SearchModel != null)
|
||||
if (CustomerSearchModel == null && SearchModel != null)
|
||||
{
|
||||
// 处理 SearchModel
|
||||
var searchColumns = Columns.Where(i => i.Searchable);
|
||||
|
Loading…
Reference in New Issue
Block a user