@luck-design-biz/luckda 0.0.12-8 → 0.0.12-8-test

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.
@@ -139,7 +139,7 @@ export var onBatchSubmitAction = function onBatchSubmitAction(_ref3, callback) {
139
139
  } else {
140
140
  _submitData = transform(values[value.id], function (_result, _value, _key) {
141
141
  _result[_key] = _value.map(function (item) {
142
- return _objectSpread(_objectSpread({}, dataFormat(gridColumns, item)), {}, _defineProperty({}, window.appConfig.constraintKeys.PRIMARY, null));
142
+ return _objectSpread(_objectSpread({}, dataFormat(gridColumns, item)), {}, _defineProperty({}, window.appConfig.constraintKeys.PRIMARY, _key === 'addList' ? null : item[window.appConfig.constraintKeys.PRIMARY]));
143
143
  });
144
144
  }, {});
145
145
  }
@@ -147,7 +147,7 @@ var onBatchSubmitAction = function onBatchSubmitAction(_ref3, callback) {
147
147
  } else {
148
148
  _submitData = (0, _lodash.transform)(values[value.id], function (_result, _value, _key) {
149
149
  _result[_key] = _value.map(function (item) {
150
- return (0, _objectSpread4.default)((0, _objectSpread4.default)({}, (0, _utils2.dataFormat)(gridColumns, item)), {}, (0, _defineProperty2.default)({}, window.appConfig.constraintKeys.PRIMARY, null));
150
+ return (0, _objectSpread4.default)((0, _objectSpread4.default)({}, (0, _utils2.dataFormat)(gridColumns, item)), {}, (0, _defineProperty2.default)({}, window.appConfig.constraintKeys.PRIMARY, _key === 'addList' ? null : item[window.appConfig.constraintKeys.PRIMARY]));
151
151
  });
152
152
  }, {});
153
153
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luck-design-biz/luckda",
3
- "version": "0.0.12-8",
3
+ "version": "0.0.12-8-test",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",