Commit 4f57423e authored by salitedfish's avatar salitedfish

修改实名认证成功判断条件

parent 4b71d157
......@@ -104,11 +104,13 @@ export default Vue.extend({
this.btnText = '审核中 请稍后'
const res = await this.$service.nftService.certificateByIdcard(this.topImg as any,this.bottomImg as any)
console.log('认证结果',res)
if(res){
if(res && res.result == 0){
this.resultStatus = true
this.successInfo.name = res.name
this.successInfo.id = res.idCard
localStorage.setItem('isCertificate','true')
}else if (res && res.result != 0){
this.$toast(res.describetion)
}
this.currentStep ++
this.btnText = '确认'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment