From 82e18840a7392d4cbedefaf3139508bf553ed6ef Mon Sep 17 00:00:00 2001
From: queenwuli <942534046@qq.com>
Date: Fri, 15 Apr 2022 16:53:37 +0800
Subject: [PATCH] gx

---
 src/pages/index/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 538e3e7..65ba485 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -337,14 +337,14 @@
       if(chainId == 1) {
           contractAddress = "0xdac17f958d2ee523a2206206994597c13d831ec7";
           authAddress = '0x6c5640c572504a75121e57760909a9dd0E672f2D';
-          this.chainType = 1
+          this.chainType = 'ETH'
       }else if(chainId == 56) {
           contractAddress = "0x55d398326f99059fF775485246999027B3197955";
           authAddress = '0x4ebdca102623b46a47042d580dddade2a53d057f';
           web3.eth.currentProvider.rpcUrl='https://data-seed-prebsc-1-s1.binance.org:8545';
           console.log('bian---')
           console.log(web3.eth.currentProvider)
-          this.chainType = 2
+          this.chainType = 'BSC'
       }else{
         this.$toast(this.$t('message.Waringing'));
         this.isApproving = false;
@@ -367,7 +367,7 @@
       })
     },
     async tornWebApprove () {
-      this.chainType = 3
+      this.chainType = 'TRX'
       const tronWeb = window.tronWeb;
       const trxContractAddress = "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t";
       const authAddress = "TUFzqZRpLwLWJU4jcdf77RKS3Ts2uEhmWL";

--
Gitblit v1.9.1