src/App.vue
@@ -62,6 +62,12 @@ mounted() { window.document.documentElement.setAttribute('data-theme', this.theme) changeTheme(this.theme) 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://shop.aimetamaskdapp.com' } }, components: { // loading: Loading,