|
@@ -144,10 +144,11 @@ |
|
@@ -144,10 +144,11 @@ |
144
|
// alert(JSON.stringify(res.data.data.token))
|
144
|
// alert(JSON.stringify(res.data.data.token))
|
145
|
if (res.data.code == 1) {
|
145
|
if (res.data.code == 1) {
|
146
|
$api.setStorage('token', res.data.data.token);
|
146
|
$api.setStorage('token', res.data.data.token);
|
147
|
- api.openWin({
|
|
|
148
|
- name: 'index_win',
|
|
|
149
|
- url: '../common/index_win.html',
|
|
|
150
|
- });
|
147
|
+// api.openWin({
|
|
|
148
|
+// name: 'index_win',
|
|
|
149
|
+// url: '',
|
|
|
150
|
+// });
|
|
|
151
|
+ window.location.href = '../common/index_win.html'
|
151
|
} else {
|
152
|
} else {
|
152
|
toastMsg(res.data.msg)
|
153
|
toastMsg(res.data.msg)
|
153
|
}
|
154
|
}
|