身份证背面取值问题

This commit is contained in:
liyuetong
2021-08-19 21:20:48 +08:00
parent 773d65faaa
commit b9e5d2742c
2 changed files with 2 additions and 2 deletions

BIN
dist.zip

Binary file not shown.

View File

@@ -159,7 +159,7 @@ export default {
// if (idCardInfo.state == '1') {
// that.stateBack = idCardInfo.state
that.stateBack = 1
that.imgBack = idCardInfo.imagePath
that.imgBack = idCardInfo.imageBase64
that.startDate = idCardInfo.validDateStart
that.endDate = idCardInfo.validDateEnd
window.localStorage.setItem('imgBackPath', encodeURI(idCardInfo.imagePath).replace(/\+/g, '%2B'))
@@ -171,7 +171,7 @@ export default {
// if (idCardInfo.state == '1') {
// that.stateBack = idCardInfo.state
that.stateBack = 1
that.imgBack = idCardInfo.imagePath
that.imgBack = idCardInfo.imageBase64
window.localStorage.setItem('imgBackInsuredPath', encodeURI(idCardInfo.imagePath).replace(/\+/g, '%2B'))
that.startDate = idCardInfo.validDateStart
that.endDate = idCardInfo.validDateEnd