@ -230,8 +230,8 @@
.then(result => {
app.userInfo = result.data.userInfo
// 处理用户认证的问题
this.hasverify = app.userInfo.grade_id>0?true:false
this.checkverify()
//this.hasverify = app.userInfo.grade_id>0?true:false
resolve(app.userInfo)
})
.catch(err => {
@ -245,6 +245,17 @@
},
// 检查实名等级的情况
checkverify(){
const app = this
let uinfo = app.userInfo
if(uinfo.real_name!="" || uinfo.id_no!=""){
app.hasverify = true
}else{
app.hasverify = false
}
// go to zw
gotozw(){
//this.$navTo("http://10.24.4.14")