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