realNameAuthentication.vue 修正isReal的校验逻辑

This commit is contained in:
WindowBird 2025-09-11 08:53:40 +08:00
parent da0e18792a
commit 281df0a116

View File

@ -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)
}
},