From 094afeae44391ec730b9620cd33529d7ce62524c Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 28 十一月 2025 13:28:53 +0800
Subject: [PATCH] fix: s

---
 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