授权两次修复

master
chen 2021-11-08 16:13:17 +08:00
parent a8ffd5663b
commit 4978f9ed95
1 changed files with 10 additions and 0 deletions

View File

@ -235,8 +235,18 @@
this.checkSwi()//
// this.checkBanner()//
this.$toolAll.tools.buriedPointAll()//id
this.checkUserInfo();
},
methods: {
checkUserInfo(){
this.$requst.post('user/info').then(res=>{
if(res.code==0){
if(res.data.phone_active!=0){
uni.setStorageSync('phone_active',res.data.phone_active);
}
}
})
},
changeBanner(e){
this.bcurrent = e.detail.current//
},