mooho-base-admin-plus 2.5.30 → 2.5.31

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/history.md CHANGED
@@ -124,3 +124,4 @@ mooho-base-admin-plus@2.5.27 - 修复升级后出现的警告
124
124
  mooho-base-admin-plus@2.5.28 - form增加tables属性
125
125
  mooho-base-admin-plus@2.5.29 - 修复升级后出现的警告
126
126
  mooho-base-admin-plus@2.5.30 - 修复表格勾选后修改数据勾选消失的bug
127
+ mooho-base-admin-plus@2.5.31 - 修复选择框筛选布尔值的bug
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.5.30",
4
+ "version": "2.5.31",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -390,7 +390,7 @@
390
390
  id: parseFloat(key),
391
391
  name: value
392
392
  });
393
- } else if (column.dataType == 'Boolean') {
393
+ } else if (column.dataType == 'Boolean' && (column.controlType == 'Check' || column.controlType == 'Switch')) {
394
394
  column.dataSource.push({
395
395
  id: key.toUpperCase() == 'TRUE',
396
396
  name: value