Commit 62c562ff by 冷斌

fix bug

parent 804b0223
...@@ -101,6 +101,7 @@ ...@@ -101,6 +101,7 @@
'bank_card': '', 'bank_card': '',
'bank_province': '', 'bank_province': '',
'bank_city': '', 'bank_city': '',
status: 3,
}, },
methods: { methods: {
info() { info() {
...@@ -135,11 +136,12 @@ ...@@ -135,11 +136,12 @@
window.location.href = _this.url('/index.php?g=Appapi&m=Profit&a=index'); window.location.href = _this.url('/index.php?g=Appapi&m=Profit&a=index');
return; return;
} }
_this.status = d.status;
if (d.status == 1) { if (d.status == 1) {
window.location.href = _this.url('/index.php?g=Appapi&m=Profit&a=withdraw'); window.location.href = _this.url('/index.php?g=Appapi&m=Profit&a=withdraw');
return; return;
} }
if ( d.status == 0) { if (d.status == 0) {
_this.account = d.account _this.account = d.account
_this.username = d.username; _this.username = d.username;
_this.front_view = d.front_view; _this.front_view = d.front_view;
...@@ -153,10 +155,6 @@ ...@@ -153,10 +155,6 @@
} }
} else { } else {
layer.msg(data.msg); 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