Explorar el Código

修改数量显示逻辑

龚成明 hace 2 años
padre
commit
8643d8ae7e
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      src/components/viewer/table/TradeInfoDetails.vue

+ 3 - 3
src/components/viewer/table/TradeInfoDetails.vue

@@ -4,16 +4,16 @@
       <div v-for="trade in item.transferList">
         <v-row>
           <!--token symbol-->
+          <!-- 没有名字的 -->
           <v-chip v-if="!trade.tokenSymbol"
                   label class="ma-2 tradeLabel" @click="httpKit.jumpToExplorer(trade.token, 'token')">
-            <!-- 没有名字的 -->
             <div class="tokenName">{{ '**' + hashKit.headAndEnd2(trade.token) }}</div>
-            <div class="tokenAmount">{{ numKit.getSubFloat(trade.amount, 4) }} </div>
+            <div class="tokenAmount">{{ trade.amount }} </div>
           </v-chip>
+          <!-- 有名字的和Ethereum/EthereumPow -->
           <v-chip v-else
                   label class="ma-2 tradeLabel" :color="hashKit.generateColorByHash(trade.token)"
                   @click="httpKit.jumpToExplorer(trade.token, 'token')">
-            <!-- 有名字的和Ethereum/EthereumPow -->
             <div class="tokenName">{{ trade.tokenSymbol === '' ? '[no name]' : trade.tokenSymbol }}</div>
             <div class="tokenAmount">{{ numKit.getSubFloat(trade.amount, 4) }}</div>
           </v-chip>