uniapp implements interception before tabbar page jumps
Requirements encountered: After entering the mini program wxlogin request successfully and requesting another interface, a field value will be obtained. Based on this value, it can be judged whether to jump to the second tabaar page and a corresponding prompt will be given. use uni.addInterceptor uni.addInterceptor is generally a method used to intercept APIsspecifichttps://uniapp.dcloud.io/api/in... »