Explorar o código

.toFixed(2)去掉

zkx %!s(int64=2) %!d(string=hai) anos
pai
achega
e66e54480b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/user/receiveCoupon.vue

+ 1 - 1
pages/user/receiveCoupon.vue

@@ -18,7 +18,7 @@
 					<img src="../../assets/img/Frame915.png" alt="">
 					
 						<view class="num">
-							{{item.value.toFixed(2)}}
+							{{item.value}}
 						</view>
 						<view class="unit">元</view>
 					<view class="ticket-info">