Quellcode durchsuchen

修复盲豆兑换bug

hwb0 vor 3 Jahren
Ursprung
Commit
ac6f34142f
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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
 				}