File tree 2 files changed +13
-3
lines changed
packages/table/module/filter
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vxe-table" ,
3
- "version" : " 4.11.20 " ,
3
+ "version" : " 4.11.21 " ,
4
4
"description" : " 一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟树、拖拽排序,懒加载、快捷菜单、数据校验、树形结构、打印、导入导出、自定义模板、渲染器、JSON 配置式..." ,
5
5
"scripts" : {
6
6
"update" : " npm install --legacy-peer-deps" ,
Original file line number Diff line number Diff line change @@ -97,13 +97,23 @@ export default defineComponent({
97
97
if ( filterSlot ) {
98
98
return [
99
99
h ( 'div' , {
100
- class : 'vxe-table--filter-template'
100
+ class : 'vxe-table--filter-template' ,
101
+ style : maxHeight
102
+ ? {
103
+ maxHeight : `${ maxHeight } px`
104
+ }
105
+ : { }
101
106
} , $xeTable . callSlot ( filterSlot , params ) )
102
107
]
103
108
} else if ( rtFilter ) {
104
109
return [
105
110
h ( 'div' , {
106
- class : 'vxe-table--filter-template'
111
+ class : 'vxe-table--filter-template' ,
112
+ style : maxHeight
113
+ ? {
114
+ maxHeight : `${ maxHeight } px`
115
+ }
116
+ : { }
107
117
} , getSlotVNs ( rtFilter ( filterRender , params ) ) )
108
118
]
109
119
}
You can’t perform that action at this time.
0 commit comments