26640
This commit is contained in:
@@ -162,6 +162,7 @@ export default {
|
|||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.data = res.data
|
this.data = res.data
|
||||||
|
this.data.idNumber = res.data.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2")
|
||||||
this.$hideLoading()
|
this.$hideLoading()
|
||||||
} else {
|
} else {
|
||||||
this.$hideLoading()
|
this.$hideLoading()
|
||||||
|
|||||||
@@ -170,6 +170,7 @@ export default {
|
|||||||
this.info = res.data
|
this.info = res.data
|
||||||
this.info.checkPhoto = JSON.parse(this.info.checkPhoto)
|
this.info.checkPhoto = JSON.parse(this.info.checkPhoto)
|
||||||
this.info.health = this.info.health.split(',')
|
this.info.health = this.info.health.split(',')
|
||||||
|
this.info.idNumber = res.data.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2")
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user