From 95a3b346ed8d9b7c6dbb5f2f632d4fb20865e589 Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 14 Jan 2022 18:10:02 +0800 Subject: [PATCH] idNumber --- src/apps/AppEpidemicSituation/ErrorInfo.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/AppEpidemicSituation/ErrorInfo.vue b/src/apps/AppEpidemicSituation/ErrorInfo.vue index a2aef18c..c094efe0 100644 --- a/src/apps/AppEpidemicSituation/ErrorInfo.vue +++ b/src/apps/AppEpidemicSituation/ErrorInfo.vue @@ -77,7 +77,7 @@ export default { getDetail() { this.$http.post(`/app/appepidemicbackhomerecord/queryDetailById?id=${this.id}`).then((res) => { if (res.code == 0) { - res.data.idNumber = res.data.idNumber.replace(/(.{10}).*(.{4})/,"$1****$2") + res.data.idNumber = res.data.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2") this.info = res.data this.info.health = this.info.health.split(',') }