|
|
@ -58,7 +58,6 @@ |
|
|
watch:{ |
|
|
watch:{ |
|
|
//验证输入框的值 |
|
|
//验证输入框的值 |
|
|
inputVal: function (val) { |
|
|
inputVal: function (val) { |
|
|
// console.log(val) |
|
|
|
|
|
var rule = /^[1-9]\d*$/; |
|
|
var rule = /^[1-9]\d*$/; |
|
|
if (!rule.test(val)) { |
|
|
if (!rule.test(val)) { |
|
|
this.inputCue = '( 请输入正整数金额!)' |
|
|
this.inputCue = '( 请输入正整数金额!)' |
|
|
@ -99,8 +98,8 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
//this.isWeixin () |
|
|
|
|
|
this.currentAmount = this.getParam(name) |
|
|
|
|
|
|
|
|
//获取余额值 |
|
|
|
|
|
this.currentAmount = this.getParam("currentAmount") |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |