pages/home/supplier-home.vue
@@ -337,7 +337,13 @@ } }, async onPullDownRefresh() { await this.$store.dispatch('getCurrentInfo') // 需要判断当前是否是子账号,如果是子账号则需要刷新账号切换的信息 const currentInfo = this.$store.state.currentInfo if(currentInfo&¤tInfo.supplierSub&¤tInfo.supplierSub.id){ await this.$store.dispatch('getSwitchSubAccount',currentInfo.supplierSub) }else{ await this.$store.dispatch('getCurrentInfo') } await this.getTj(true) uni.stopPullDownRefresh() },