Pārlūkot izejas kodu

修复盲豆兑换bug

hwb0 3 gadi atpakaļ
vecāks
revīzija
ac6f34142f
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      pages/about/index.vue
  2. 1 1
      pages/goods/detail.vue

+ 1 - 1
pages/about/index.vue

@@ -4,7 +4,7 @@
 		<view class="about">
 			<view class="flex about-logo">
 				<image src="../../static/logo.png" mode=""></image>
-				<view class="edition">v 1.0.3</view>
+				<view class="edition">v 1.0.5</view>
 			</view>
 			<view class="about-action">
 				<u-cell-group :border="false">

+ 1 - 1
pages/goods/detail.vue

@@ -227,7 +227,7 @@
 					uni.$u.toast('库存不足');
 					return
 				}
-				if (this.initData.coinNum < this.payInfo.value) {
+				if (this.initData.coinNum < this.payInfo.exchangePrice) {
 					uni.$u.toast('芒豆余额不足');
 					return
 				}