mooho-base-admin-plus 2.10.97 → 2.10.99

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.97",
4
+ "version": "2.10.99",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -375,7 +375,7 @@
375
375
  id: parseFloat(key),
376
376
  name: value
377
377
  });
378
- } else if (column.dataType == 'Boolean' && (column.controlType == 'Check' || column.controlType == 'Switch')) {
378
+ } else if (column.dataType == 'Boolean' && column.controlType != 'Select') {
379
379
  column.dataSource.push({
380
380
  id: key.toUpperCase() == 'TRUE',
381
381
  name: value
@@ -1048,7 +1048,7 @@
1048
1048
  id: parseFloat(key),
1049
1049
  name: value
1050
1050
  });
1051
- } else if (column.dataType == 'Boolean' && (column.controlType == 'Check' || column.controlType == 'Switch')) {
1051
+ } else if (column.dataType == 'Boolean' && column.controlType != 'Select') {
1052
1052
  column.dataSource.push({
1053
1053
  id: key.toUpperCase() == 'TRUE',
1054
1054
  name: value
@@ -58,6 +58,8 @@
58
58
  colHeaders: true,
59
59
  height: 'auto',
60
60
  // columns: [],
61
+ // 固定行高,避免含换行文本时横向滚动触发自动重算导致表格整体高度变化
62
+ autoRowSize: false,
61
63
  autoWrapCol: true,
62
64
  autoWrapRow: true,
63
65
  manualColumnResize: true,
@@ -1922,7 +1922,7 @@
1922
1922
  id: parseFloat(key),
1923
1923
  name: value
1924
1924
  });
1925
- } else if (column.dataType == 'Boolean' && (column.controlType == 'Check' || column.controlType == 'Switch')) {
1925
+ } else if (column.dataType == 'Boolean' && column.controlType != 'Select') {
1926
1926
  row._dataSource[column.code].push({
1927
1927
  id: key.toUpperCase() == 'TRUE',
1928
1928
  name: value