程志平 4 years ago
parent
commit
44bed3c898
1 changed files with 2 additions and 1 deletions
  1. 2 1
      pages/reshui/reshui.vue

+ 2 - 1
pages/reshui/reshui.vue

@@ -447,8 +447,9 @@
 			 * 扫码连接设备
 			 */
 			scan() {
+				var amount = parseFloat(this.amount);
 				// 启动最低金额限制
-				if (this.amount < 10.00) {
+				if (amount < 10.00) {
 					uni.showModal({
 						title: '提示',
 						content: '当前余额不足¥10元',