优化
This commit is contained in:
parent
7eaa034da5
commit
7ee5a3ea49
2
App.vue
2
App.vue
@ -42,11 +42,13 @@
|
|||||||
// uni.$emit('home_initUserInfo', data);
|
// uni.$emit('home_initUserInfo', data);
|
||||||
return ;
|
return ;
|
||||||
}catch(e){
|
}catch(e){
|
||||||
|
this.$isResolve()
|
||||||
console.log(e);
|
console.log(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log('App Launch')
|
console.log('App Launch')
|
||||||
this.$store.dispatch('initConfig');
|
this.$store.dispatch('initConfig');
|
||||||
|
this.$isResolve()
|
||||||
try {
|
try {
|
||||||
if (!this.$store.state.app.token) uni.reLaunch({
|
if (!this.$store.state.app.token) uni.reLaunch({
|
||||||
url: '/pages/oaLogin/oaLogin'
|
url: '/pages/oaLogin/oaLogin'
|
||||||
|
@ -582,9 +582,10 @@ export default {
|
|||||||
this.myOaInfo = res;
|
this.myOaInfo = res;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
onPullDownRefresh () {
|
async onPullDownRefresh () {
|
||||||
this.getOrderList();
|
await this.getOrderList();
|
||||||
this.$store.dispatch('initConfig');
|
await this.$store.dispatch('initConfig');
|
||||||
|
await this.getApproveList();
|
||||||
// this.getIndexList()
|
// this.getIndexList()
|
||||||
uni.stopPullDownRefresh();
|
uni.stopPullDownRefresh();
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user