yqform-h5 0.1.56 → 0.1.57
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/dist/style.css +1 -1
- package/dist/yqform-h5.es.js +4 -4
- package/dist/yqform-h5.umd.js +1 -1
- package/package.json +1 -1
package/dist/yqform-h5.es.js
CHANGED
|
@@ -14979,7 +14979,7 @@ const gS = {
|
|
|
14979
14979
|
};
|
|
14980
14980
|
let u, d;
|
|
14981
14981
|
if (e.type !== "phone" && e.type !== "identity" && (u = (f = e.range) == null ? void 0 : f.min, d = (c = e.range) == null ? void 0 : c.max), t.length === 0)
|
|
14982
|
-
return e.required ? (s(), !1) : !0;
|
|
14982
|
+
return e.required ? (e.emsg = e.initialEmsg || "当前项不能为空", delete e.initialEmsg, s(), !1) : !0;
|
|
14983
14983
|
if (e.type === "idPicture")
|
|
14984
14984
|
return t && t.front && t.back ? !0 : (s(), !1);
|
|
14985
14985
|
if (e.type === "text" || e.type === "password") {
|
|
@@ -14993,7 +14993,7 @@ const gS = {
|
|
|
14993
14993
|
return m || s(), m;
|
|
14994
14994
|
} else if (e.type === "phone") {
|
|
14995
14995
|
const m = /^1[3-9]\d{9}$/.test(t);
|
|
14996
|
-
return m || s(), m;
|
|
14996
|
+
return e.initialEmsg = e.emsg, e.emsg = "手机号格式不正确", m || s(), m;
|
|
14997
14997
|
} else
|
|
14998
14998
|
return !0;
|
|
14999
14999
|
}
|
|
@@ -15133,7 +15133,7 @@ const gS = {
|
|
|
15133
15133
|
},
|
|
15134
15134
|
mounted() {
|
|
15135
15135
|
}
|
|
15136
|
-
}, pS = (e) => (ld("data-v-
|
|
15136
|
+
}, pS = (e) => (ld("data-v-a3e130a2"), e = e(), ud(), e), vS = { class: "main" }, yS = { class: "content-topimg" }, bS = {
|
|
15137
15137
|
key: 0,
|
|
15138
15138
|
class: "header-img"
|
|
15139
15139
|
}, wS = {
|
|
@@ -15253,7 +15253,7 @@ function TS(e, t, n, o, a, s) {
|
|
|
15253
15253
|
])) : Ce("", !0)
|
|
15254
15254
|
]);
|
|
15255
15255
|
}
|
|
15256
|
-
const OS = /* @__PURE__ */ vo(gS, [["render", TS], ["__scopeId", "data-v-
|
|
15256
|
+
const OS = /* @__PURE__ */ vo(gS, [["render", TS], ["__scopeId", "data-v-a3e130a2"]]);
|
|
15257
15257
|
const DS = {
|
|
15258
15258
|
name: "Content",
|
|
15259
15259
|
emits: ["onSelect", "addFile", "submit", "edit", "handle"],
|