@zscreate/form-component 1.1.618-test.3 → 1.1.618-test.4
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.
|
@@ -67025,7 +67025,7 @@ __webpack_require__.g.dictData = {};
|
|
|
67025
67025
|
if (!options.maxValue && !options.minValue) {
|
|
67026
67026
|
callback();
|
|
67027
67027
|
}
|
|
67028
|
-
if (Array.isArray(this.dataModel) && options.maxValue && options.minValue && options.minValue == options.maxValue && (!this.dataModel || Array.isArray(this.dataModel) && this.dataModel.length != options.maxValue)) {
|
|
67028
|
+
if ((!this.dataModel || Array.isArray(this.dataModel)) && options.maxValue && options.minValue && options.minValue == options.maxValue && (!this.dataModel || Array.isArray(this.dataModel) && this.dataModel.length != options.maxValue)) {
|
|
67029
67029
|
callback(new Error(this.widget.name + "只能选择" + options.maxValue + "项"));
|
|
67030
67030
|
} else if (Array.isArray(this.dataModel) && options.maxValue && this.dataModel.length > options.maxValue) {
|
|
67031
67031
|
callback(new Error(this.widget.name + "最多选择" + options.maxValue + "项"));
|
|
@@ -74908,7 +74908,7 @@ const getSignature = params => (0,_form_api_manage__WEBPACK_IMPORTED_MODULE_0__/
|
|
|
74908
74908
|
/***/ ((module) => {
|
|
74909
74909
|
|
|
74910
74910
|
"use strict";
|
|
74911
|
-
module.exports = /*#__PURE__*/JSON.parse('{"rE":"1.1.618-test.
|
|
74911
|
+
module.exports = /*#__PURE__*/JSON.parse('{"rE":"1.1.618-test.4"}');
|
|
74912
74912
|
|
|
74913
74913
|
/***/ }),
|
|
74914
74914
|
|