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(',') }