提交 b8ff62d4 authored 作者: 王天霸's avatar 王天霸
...@@ -262,13 +262,19 @@ ...@@ -262,13 +262,19 @@
this.$message({type: 'error',message: '提现金额不足!'}); this.$message({type: 'error',message: '提现金额不足!'});
return; return;
} }
addWithdrawlog(this.form).then(response => {
if (response.code == 0) { this.form.verifycode = Number(this.form.verifycode);
this.msgSuccess(response.msg); this.form.money = Number(this.form.money);
addWithdrawlog(this.form).then(res => {
if (res.code === 0) {
this.msgSuccess(res.msg);
this.getList(); this.getList();
} else { this.reset();
this.$message({type: 'error',message: response.msg});
} }
// else {
// this.$message({type: 'error',message: res.msg});
// }
}); });
} }
}); });
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论