Commit c657f15f authored by linwenqing's avatar linwenqing

fix:我的信息是否认证 判断修改

parent b13c07c4
......@@ -136,6 +136,7 @@ export default {
})
.then((res) => {
this.$u.toast('认证成功')
this.student.isCertify = true
setTimeout(() => {
this.$u.route({
type: 'back',
......
......@@ -95,7 +95,7 @@ export default {
return this.student.workUnit || ''
},
getCertifyStatus() {
return !this.student.identityNumber ? '去认证' : '已认证'
return !this.student.isCertify ? '去认证' : '已认证'
},
},
onLoad() {
......@@ -108,6 +108,7 @@ export default {
}
})
this.$u.api.getUserInfo().then((res) => {
res.isCertify = res.identityNumber ? true : false
this.student = res
})
},
......
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