From 7ea7cd0ce3faafb0ab881935d88bef7928fc2ca7 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 03 十二月 2025 17:52:38 +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..9b58507 100644
--- a/src/utils/common/common.ts
+++ b/src/utils/common/common.ts
@@ -161,3 +161,8 @@
   }
   return result;
 }
+
+export const hiddenIDNumberForEnd4 = (realIDNumber: string) => {
+  if (!realIDNumber) return '';
+  return realIDNumber.replace(/^(\d+)(.{4})$/, '$1****');
+};

--
Gitblit v1.9.1