Handy_Cao hai 1 ano
pai
achega
2c14f0976e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/packages/pc/components/modules/quote/price/index.vue

+ 2 - 2
src/packages/pc/components/modules/quote/price/index.vue

@@ -8,9 +8,9 @@
                 <div class="block-bottom-left">
                     <span :class="quote.lastColor" v-if="[10, 53].includes(quote.trademode)">{{ handleNumberValue(formatDecimal(quote.last, quote.decimalplace)) }}</span>
                     <div v-else>
-                        <span :class="quote.askColor">{{ handleNumberValue(quote.ask.toFixed(quote.decimalplace)) }}</span>
+                        <span :class="quote.askColor">{{ handleNumberValue(formatDecimal(quote.ask, quote.decimalplace)) }}</span>
                         <span>{{ ' / ' }}</span>
-                        <span :class="quote.bidColor">{{ handleNumberValue(quote.bid.toFixed(quote.decimalplace)) }}</span>
+                        <span :class="quote.bidColor">{{ handleNumberValue(formatDecimal(quote.bid, quote.decimalplace)) }}</span>
                     </div>
                 </div>
                 <div class="block-bottom-right">