|
|
@@ -97,7 +97,7 @@ export default {
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
- if (this.form.amount < 1) {
|
|
|
+ if (Number(this.money) < 1) {
|
|
|
wx.showToast({
|
|
|
icon: 'none',
|
|
|
title: '金额不能低于1元',
|
|
|
@@ -122,7 +122,7 @@ export default {
|
|
|
account: '',
|
|
|
method: 'WECHAT',
|
|
|
name: '',
|
|
|
- amount: this.form.amount
|
|
|
+ amount: Number(this.money)
|
|
|
})
|
|
|
.then(res => {
|
|
|
// console.log(res);
|
|
|
@@ -149,7 +149,7 @@ export default {
|
|
|
this.$http
|
|
|
.post('/roomMoneyWithdrawApply/apply', {
|
|
|
roomId: this.roomInfo.roomId,
|
|
|
- amount: this.form.amount
|
|
|
+ amount: Number(this.money)
|
|
|
})
|
|
|
.then(res => {
|
|
|
// console.log(res);
|