ngx-rs-ant 2.3.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2254,40 +2254,9 @@ class DataGridFactory {
2254
2254
  break;
2255
2255
  case 'DOUBLE':
2256
2256
  case 'INTEGER':
2257
- column.headerFilter.dataSource = (options) => {
2258
- options.dataSource.postProcess = (data) => {
2259
- data.unshift({
2260
- key: '',
2261
- value: null,
2262
- text: '(空白)'
2263
- });
2264
- data.push({
2265
- key: '__',
2266
- value: '__',
2267
- text: '__',
2268
- visible: false
2269
- });
2270
- };
2271
- };
2272
2257
  column.alignment = 'right';
2273
2258
  break;
2274
2259
  case 'STRING':
2275
- column.headerFilter.dataSource = (options) => {
2276
- // TODO 超过20条会分页添加多次,不分页前端性能差,考虑在构建dataSource时处理,与日期类型存在冲突
2277
- options.dataSource.postProcess = (data) => {
2278
- data.unshift({
2279
- key: '',
2280
- value: null,
2281
- text: '(空白)'
2282
- });
2283
- data.push({
2284
- key: '__',
2285
- value: '__',
2286
- text: '__',
2287
- visible: false
2288
- });
2289
- };
2290
- };
2291
2260
  switch (field.config.constraint.type) {
2292
2261
  case 'USER':
2293
2262
  if (column.viewConfig) {