From 3548801c77665058c5eb8e055763cf2c3ecc18dd Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 27 十一月 2025 10:18:44 +0800
Subject: [PATCH] feat: 页面

---
 src/utils/common/common.ts |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/utils/common/common.ts b/src/utils/common/common.ts
index 621cf9e..fe1389c 100644
--- a/src/utils/common/common.ts
+++ b/src/utils/common/common.ts
@@ -161,3 +161,8 @@
   }
   return result;
 }
+
+export const hiddenIDNumberForEnd6 = (realIDNumber: string) => {
+  if (!realIDNumber) return '';
+  return realIDNumber.replace(/^(\d+)(.{6})$/, '$1******');
+};

--
Gitblit v1.9.1