!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:
Argo 2022-01-07 04:58:32 +00:00
parent 2e4e96853c
commit 9f0328151d
2 changed files with 2 additions and 2 deletions

View File

@ -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'">

View File

@ -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);