| | |
| | | const res = await this.$store.dispatch('getCurrentInfo'); |
| | | // console.log('init info',res,this.currentInfo) |
| | | if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) { |
| | | |
| | | uni.reLaunch({ |
| | | url: '/pages/home/farmer-home' |
| | | url: '/pages/home/supplier-home' |
| | | }) |
| | | } |
| | | }, 200); |
| | |
| | | // console.log('init info',res,this.currentInfo) |
| | | if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) { |
| | | // uni.reLaunch({ |
| | | // url: '/pages/home/farmer-home' |
| | | // url: '/pages/home/supplier-home' |
| | | // }) |
| | | } |
| | | }, 200); |