From 4711bb8fb2fb16c4eb1cdf6c0314069d85e77a67 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 27 Nov 2025 14:47:00 +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