Browse Source

提交

master
453530270@qq.com 3 years ago
parent
commit
f5b5734970
  1. 15
      pages/home.vue

15
pages/home.vue

@ -230,8 +230,8 @@
.then(result => { .then(result => {
app.userInfo = result.data.userInfo app.userInfo = result.data.userInfo
// //
this.checkverify()
this.hasverify = app.userInfo.grade_id>0?true:false //this.hasverify = app.userInfo.grade_id>0?true:false
resolve(app.userInfo) resolve(app.userInfo)
}) })
.catch(err => { .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 // go to zw
gotozw(){ gotozw(){
//this.$navTo("http://10.24.4.14") //this.$navTo("http://10.24.4.14")

Loading…
Cancel
Save