From 73b874c72ad55eb9eef21c36160ac0de58f0189e Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 05 Feb 2026 10:30:43 +0800
Subject: [PATCH] 优化名片

---
 mobile/common/utils.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/mobile/common/utils.js b/mobile/common/utils.js
index 8bf25cb..8c7e22e 100644
--- a/mobile/common/utils.js
+++ b/mobile/common/utils.js
@@ -166,6 +166,10 @@
 		} else {
 			return false;
 		}
+	},
+	// 屏蔽手机号码中间4位
+	maskPhoneNumber(phoneNumber) {
+		return phoneNumber.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2');
 	}
 };
 export default utils;
\ No newline at end of file

--
Gitblit v1.9.2