realNameAuthentication.vue 修正isReal的校验逻辑
This commit is contained in:
parent
da0e18792a
commit
281df0a116
|
|
@ -52,9 +52,9 @@ export default {
|
|||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
if (option.isReal) {
|
||||
if (option.isReal === 'true') {
|
||||
console.log('路由传入的实名', option.isReal)
|
||||
this.isReal = option.isReal
|
||||
this.isReal = true
|
||||
console.log('vue挂载的实名', this.isReal)
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user