@harbor-design/proform 1.4.14 → 1.4.15

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1154,7 +1154,7 @@ const Ir = {
1154
1154
  getRuntimeRequired(r) {
1155
1155
  let e = `${r.label}是必填项`;
1156
1156
  if (r.required)
1157
- if (o.isString(r.required) && (e = r.required), !r.rules)
1157
+ if (o.isString(r.required) && (e = r.required), o.isFunction(r.required) && (e = r.required()), !r.rules)
1158
1158
  r.rules = [], r.rules.push({
1159
1159
  required: !0,
1160
1160
  message: e
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harbor-design/proform",
3
- "version": "1.4.14",
3
+ "version": "1.4.15",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",