xuxueyang
2024-07-08 d3b3262835502c091d88883145cb9606a6e1af7f
App.vue
@@ -40,8 +40,9 @@
               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);
@@ -56,7 +57,7 @@
               // 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);