h5/pages/login/login.vue
@@ -58,7 +58,12 @@ var that = this let url = 'https://atwl.ahzyssl.com/zhyq_h5/#/' let code = '' if (window.location.href.indexOf('code=') !== -1 || this.code) { if (window.location.href.indexOf('code=') !== -1 || this.code) { // if(window.location.href.indexOf('wdata') !== -1){ // uni.redirectTo({ // url: '/pages/wdata/home?code=' + // }) // } const ywinfo = uni.getStorageSync('ywinfo') || {} if(ywinfo.ywid && (ywinfo.type || ywinfo.type == 0)){ this.userAuth(ywinfo.type)