Browse Source

修复初级验证

master
453530270@qq.com 3 years ago
parent
commit
e1780be833
  1. 8
      pages/base/mine.vue

8
pages/base/mine.vue

@ -33,7 +33,7 @@
}}
</text>
</v-link>
<v-link tag="view" to="/pages/auth/primary" v-if="status==0" @click="getAuthInfo"
<v-link tag="view" to="/pages/auth/primary" v-if="user_auth_level==0" @click="getAuthInfo"
class="d-flex bg-form-panel-3 align-center p-y-xxs rounded-xs w-33 justify-center shadow-panel-4">
<!-- :class="tabActive==0?'color-theme-1 bg-panel-3 rounded-xs shadow-panel-nei':''" -->
<view class="m-r-xs d-flex align-center">
@ -279,6 +279,7 @@ export default {
refreshing: false,
otc: {},
status: 0,
user_auth_level: 0,
};
},
computed: {
@ -303,6 +304,7 @@ export default {
isShow(n, o) {
if (n) {
this.upDateData();
this.getAuthInfo();//this.user_auth_level
}
},
tabActive() {
@ -321,8 +323,10 @@ export default {
Profile.getAuthInfo().then(res => {
// this.detail = res.data
this.status = res.data.status
this.user_auth_level = res.data.primary_status
console.log(this.status, '9999')
console.log(res.data, '9999')
console.log(res.data, '8888')
console.log(this.user_auth_level, '7777')
})
},
onRefresh() {

Loading…
Cancel
Save