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