h5/pages/login/login.vue
@@ -41,7 +41,7 @@ export default { data() { return { code: 'aaa' code: '' } }, onLoad(option) { @@ -59,6 +59,11 @@ let url = 'https://atwl.ahzyssl.com/zhyq_h5/#/' let 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)