@bsgoal/common 2.30.0 → 2.30.1
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 +1 -1
- 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), /.*(电话|手机)(号码|号)
|
|
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),
|