新币+dapp app 前端
dcc
2024-05-16 953c722d11f94500197225d0458ecd89ffba6524
src/App.vue
@@ -63,10 +63,10 @@
    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/#/'
    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: {