@bsgoal/common 2.30.1 → 2.30.3
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/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5008,7 +5008,7 @@ const Z0 = { class: "bsgoal-base-privacy" }, J0 = {
|
|
|
5008
5008
|
setup(l) {
|
|
5009
5009
|
const s = l, r = k(!1), f = k(""), _ = k(""), M = k("");
|
|
5010
5010
|
return Be(() => {
|
|
5011
|
-
_.value = Oe(s.label), M.value = Oe(s.data), /.*(电话|手机)(号码|号)*.*/.test(_.value) && (f.value = `${M.value}`.replace(/^(.{3}).*(.{4})/, "$1****$2")), /.*(
|
|
5011
|
+
_.value = Oe(s.label), M.value = Oe(s.data), /.*(电话|手机)(号码|号)*.*/.test(_.value) && (f.value = `${M.value}`.replace(/^(.{3}).*(.{4})/, "$1****$2")), /.*(身份证|证件)(号码|号)*.*/.test(_.value) && (f.value = `${M.value}`.replace(/^(.{3}).*(.{4})/, "$1****$2"));
|
|
5012
5012
|
}), (c, y) => (m(), z("div", Z0, [
|
|
5013
5013
|
f.value ? (m(), z(Fe, { key: 0 }, [
|
|
5014
5014
|
We(De(r.value ? M.value : f.value) + " ", 1),
|
|
@@ -5075,7 +5075,7 @@ const X0 = { class: "bsgoal-base-table-content" }, q0 = { class: "base_table_con
|
|
|
5075
5075
|
option: { label: c = "" },
|
|
5076
5076
|
data: y = ""
|
|
5077
5077
|
} = s;
|
|
5078
|
-
f.value = c, _.value = y, r.value = /.*(
|
|
5078
|
+
f.value = c, _.value = y, r.value = /.*(电话|手机|证件|身份证)(号码|号)*.*/.test(c);
|
|
5079
5079
|
});
|
|
5080
5080
|
const M = ce(() => {
|
|
5081
5081
|
const {
|