| | |
| | | export default {
|
| | | data() {
|
| | | return {
|
| | | code: 'aaa'
|
| | | code: ''
|
| | | }
|
| | | }, |
| | | onLoad(option) { |
| | |
| | | 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) |