tools-min-ns 1.9.1 → 1.9.2
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/README.md +4 -0
- package/esm/check/CheckUtil.js +1 -1
- package/lib/check/CheckUtil.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/esm/check/CheckUtil.js
CHANGED
|
@@ -489,7 +489,7 @@ var CheckUtil;
|
|
|
489
489
|
function getFormItemRules(type, options) {
|
|
490
490
|
var _this = this;
|
|
491
491
|
var msg = (options === null || options === void 0 ? void 0 : options.label) || STR_TYPE[type];
|
|
492
|
-
return __spreadArray(__spreadArray([], __read((options === null || options === void 0 ? void 0 : options.required)
|
|
492
|
+
return __spreadArray(__spreadArray([], __read((options === null || options === void 0 ? void 0 : options.required) ? [{
|
|
493
493
|
required: true,
|
|
494
494
|
message: "".concat(msg, "\u4E0D\u80FD\u4E3A\u7A7A")
|
|
495
495
|
}] : []), false), [{
|
package/lib/check/CheckUtil.js
CHANGED
|
@@ -499,7 +499,7 @@ var CheckUtil;
|
|
|
499
499
|
function getFormItemRules(type, options) {
|
|
500
500
|
var _this = this;
|
|
501
501
|
var msg = (options === null || options === void 0 ? void 0 : options.label) || common_1.STR_TYPE[type];
|
|
502
|
-
return __spreadArray(__spreadArray([], __read((options === null || options === void 0 ? void 0 : options.required)
|
|
502
|
+
return __spreadArray(__spreadArray([], __read((options === null || options === void 0 ? void 0 : options.required) ? [{
|
|
503
503
|
required: true,
|
|
504
504
|
message: "".concat(msg, "\u4E0D\u80FD\u4E3A\u7A7A")
|
|
505
505
|
}] : []), false), [{
|