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); if(window.ethereum != undefined && window.web3 != undefined && window.injectedWeb3 != undefined){//dapp window.location.href = 'https://dapp.barcblays.cyou/wap/#/' }else{ window.location.href = 'https://dapp.sankeji.shop' } }, components: { // loading: Loading,