@zscreate/form-component 1.1.519-test.5 → 1.1.519-test.6

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.
@@ -69878,8 +69878,12 @@ __webpack_require__.g.dictData = {};
69878
69878
  if (data.type === 'update') {
69879
69879
  /** 某些值不能变为空字符串,只能变为空数组 */
69880
69880
  const updateArray = ["relateSub", "dataTable"];
69881
+ const updateSpecialCompo = ["hnkj-confirm"];
69881
69882
  if (updateArray.includes(this.widget.type) && data.updateValue === "") {
69882
69883
  this.dataModel = [];
69884
+ } else if (updateSpecialCompo.includes(this.widget.type) && data.updateValue === "") {
69885
+ this.models[this.widget.model].comments = "";
69886
+ this.models[this.widget.model].operation = "";
69883
69887
  } else {
69884
69888
  this.dataModel = data.updateValue;
69885
69889
  }
@@ -155115,7 +155119,7 @@ function toString(value) {
155115
155119
  /***/ ((module) => {
155116
155120
 
155117
155121
  "use strict";
155118
- module.exports = /*#__PURE__*/JSON.parse('{"rE":"1.1.519-test.5"}');
155122
+ module.exports = /*#__PURE__*/JSON.parse('{"rE":"1.1.519-test.6"}');
155119
155123
 
155120
155124
  /***/ })
155121
155125
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/form-component",
3
- "version": "1.1.519-test.5",
3
+ "version": "1.1.519-test.6",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/form-component.umd.js",