Commit 3ce7b18d authored by 罗超's avatar 罗超

1

parent b0650fc2
......@@ -125,6 +125,14 @@ export default {
// });
// },
async login() {
if (msg.Account == "" || !msg.Account) {
Toast.fail("请输入账号");
return;
}
if (msg.Password == "" || !msg.Password) {
Toast.fail("请输入密码");
return;
}
let res = await login(msg);
if (res) {
res.Data.Account = msg.Account;
......
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