Commit 9729d64a authored by 赵啸非's avatar 赵啸非

修改同步用户

parent 22dbfa8a
...@@ -54,14 +54,12 @@ export default { ...@@ -54,14 +54,12 @@ export default {
// }, // },
onSubmit(e) { onSubmit(e) {
e.preventDefault(); e.preventDefault();
if (!this.form.loginName.length) { if (!this.form.loginName.length) {
return this.$message.warning("请输入用户名"); return this.$message.warning("请输入用户名");
} }
if (!this.form.password.length) { if (!this.form.password.length) {
return this.$message.warning("请输入密码"); return this.$message.warning("请输入密码");
} }
this.login(); this.login();
}, },
}, },
......
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