mooho-base-admin-plus 2.10.87 → 2.10.89

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mooho-base-admin-plus",
3
3
  "description": "MOOHO basic framework for admin by Vue3",
4
- "version": "2.10.87",
4
+ "version": "2.10.89",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -200,7 +200,12 @@
200
200
  :style="{ width: column.controlWidth == null ? null : column.controlWidth + 'px' }"
201
201
  @on-change="
202
202
  time => {
203
- setFilterData(data, column, time);
203
+ if (column.controlType === 'DateRange' && time.length == 2 && time[0] == '') {
204
+ setFilterData(data, column, null);
205
+ } else {
206
+ setFilterData(data, column, time);
207
+ }
208
+
204
209
  onDataChange(column);
205
210
  }
206
211
  "
@@ -1763,7 +1763,9 @@
1763
1763
  }
1764
1764
  }
1765
1765
 
1766
- this.$refs['table_' + column.code][0].$refs.tableFilter.onDataChange();
1766
+ if (this.$refs['table_' + column.code][0].$refs.tableFilter) {
1767
+ this.$refs['table_' + column.code][0].$refs.tableFilter.onDataChange();
1768
+ }
1767
1769
  });
1768
1770
  }
1769
1771
  // // 打印