Commit bdbe8b75 by 冷斌

fix bug

parent 0edbc93a
......@@ -86,6 +86,7 @@
} else {
let _this = this;
let url = _this.url('/api/public/?service=User.setCash');
let leftover = parseInt(this.allow_money) - parseInt(this.withdraw_money);
$.ajax({
url: url,
dataType: "json",
......@@ -94,7 +95,8 @@
success: function (data) {
console.log(data);
if (data.ret == 200) {
layer.msg('申请成功');
_this.allow_money = leftover;
layer.msg('提现成功');
} else {
layer.msg(data.msg);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment