linkmore-design 1.1.42 → 1.1.43

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.
@@ -106,7 +106,7 @@ var CalcExpression = function CalcExpression(props) {
106
106
  // 使用默认值初始化
107
107
  onChangeRecord(dfs, col.dataIndex, col === null || col === void 0 ? void 0 : col.defaultExpression, false);
108
108
  }
109
- if (record && record._group && isShowSelect && (col === null || col === void 0 ? void 0 : col.dataIndex)) {
109
+ if (record && record.hasOwnProperty('_group') && isShowSelect && (col === null || col === void 0 ? void 0 : col.dataIndex)) {
110
110
  var select = Object.assign({
111
111
  placeholder: '不计算',
112
112
  allowClear: false,
@@ -114,7 +114,7 @@ var CalcExpression = function CalcExpression(props) {
114
114
  // 使用默认值初始化
115
115
  onChangeRecord(dfs, col.dataIndex, col === null || col === void 0 ? void 0 : col.defaultExpression, false);
116
116
  }
117
- if (record && record._group && isShowSelect && (col === null || col === void 0 ? void 0 : col.dataIndex)) {
117
+ if (record && record.hasOwnProperty('_group') && isShowSelect && (col === null || col === void 0 ? void 0 : col.dataIndex)) {
118
118
  var select = Object.assign({
119
119
  placeholder: '不计算',
120
120
  allowClear: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkmore-design",
3
- "version": "1.1.42",
3
+ "version": "1.1.43",
4
4
  "author": {
5
5
  "name": "nowthen",
6
6
  "email": "rnlvwyx@gmail.com"