فهرست منبع

Merge remote-tracking branch 'origin/ftm' into ftm

skyfffire 3 سال پیش
والد
کامیت
828230c324
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      src/components/viewer/Table.vue
  2. 2 2
      src/plugins/kit/HttpKit.js

+ 1 - 1
src/components/viewer/Table.vue

@@ -41,7 +41,7 @@
         </template>
         <!-- Hash -->
         <template v-slot:item.hash="{ item }">
-          <v-btn v-if="item.hash.indexOf('0x') !== -1" outlined text target="_blank" :href="'https://www.oklink.com/en/ethw/tx/' + item.hash">
+          <v-btn v-if="item.hash.indexOf('0x') !== -1" outlined text target="_blank" :href="'https://ftmscan.com/tx/' + item.hash">
             {{ hashKit.head5(item.hash) + '..' }}
           </v-btn>
           <v-chip v-else label target="_blank">

+ 2 - 2
src/plugins/kit/HttpKit.js

@@ -1,9 +1,9 @@
 export default class HttpKit {
   static jumpToEthw(pairAddress, type) {
     if (type === 'token') {
-      window.open('https://www.oklink.com/en/ethw/token/' + pairAddress)
+      window.open('https://ftmscan.com/token/' + pairAddress)
     } else {
-      window.open('https://www.oklink.com/en/ethw/address/' + pairAddress)
+      window.open('https://ftmscan.com/address/' + pairAddress)
     }
   }
 }