Commit 33d0b0ad by haojie

1

parent bacf4083
...@@ -64,9 +64,8 @@ async function login() { ...@@ -64,9 +64,8 @@ async function login() {
if (res.code == 0) { if (res.code == 0) {
console.log('登录成功'); console.log('登录成功');
login_token = res.data.access_token; login_token = res.data.access_token;
} else { } else if (res.code == 443) {
console.log('登录失败'); console.log('登录失败,连接超时');
console.log(res);
} }
} catch (e) { } catch (e) {
console.log(e); console.log(e);
......
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