This commit is contained in:
weipengfei 2023-09-09 09:12:54 +08:00
parent 7eaa034da5
commit 7ee5a3ea49
2 changed files with 6 additions and 3 deletions

View File

@ -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'

View File

@ -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();
}, },