nieyuge hace 2 años
padre
commit
6a63f3156c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pages/payment/index.vue

+ 1 - 1
pages/payment/index.vue

@@ -118,7 +118,7 @@
                             <div class="r">
                                 <FontZoom width="260">
                                     <img :src="currencyInfoData.iconPath" />
-                                    <span>{{ salePlans.price - currencyInfoData.balance}} {{currencyInfoData.tokenSymbol}}</span>
+                                    <span>{{ (salePlans.price - currencyInfoData.balance) > 0 ? (salePlans.price - currencyInfoData.balance) : 0 }} {{currencyInfoData.tokenSymbol}}</span>
                                 </FontZoom>
                             </div>
                         </div>