Commit c75b50cd by 姜雷

添加登陆失败提示

parent 35ff085e
...@@ -130,6 +130,7 @@ class Login extends Component { ...@@ -130,6 +130,7 @@ class Login extends Component {
}) })
.catch(err => { .catch(err => {
console.log(err); console.log(err);
Toast.fail(err.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