File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,12 @@ public void OnFilterAsync_Ok()
1212 {
1313 var cut = Context . RenderComponent < TableColumnFilter > ( pb =>
1414 {
15+ pb . Add ( a => a . NotSupportedMessage , "不支持的类型" ) ;
1516 pb . Add ( a => a . Table , new MockTable ( ) ) ;
1617 pb . Add ( a => a . Column , new MockColumn ( ) ) ;
1718 } ) ;
1819
19- cut . Contains ( "不支持的类型,请使用 FilterTemplate 自定义过滤组件 " ) ;
20+ cut . Contains ( "不支持的类型" ) ;
2021
2122 var filter = cut . FindComponent < NotSupportFilter > ( ) ;
2223 var conditions = filter . Instance . GetFilterConditions ( ) ;
Original file line number Diff line number Diff line change @@ -451,6 +451,7 @@ public async Task CustomSearch_Ok()
451451 {
452452 pb . AddChildContent < Table < Foo > > ( pb =>
453453 {
454+ pb . Add ( a => a . NotSupportedMessage , "test-not-support" ) ;
454455 pb . Add ( a => a . SearchText , "张三" ) ;
455456 pb . Add ( a => a . TableColumns , foo => builder =>
456457 {
You can’t perform that action at this time.
0 commit comments