fix: correct typos

This commit is contained in:
fwindpeak
2022-05-28 10:10:10 +08:00
committed by GitHub
parent 4157c7bccc
commit 636201df80
9 changed files with 16 additions and 16 deletions

View File

@@ -21,9 +21,9 @@ const onLogin = async (formEl: FormInstance | undefined) => {
if (!formEl) return;
await formEl.validate((valid, fields) => {
if (valid) {
// 模拟登请求,需根据实际开发进行修改
// 模拟登请求,需根据实际开发进行修改
setTimeout(() => {
message.success("登成功");
message.success("登成功");
loading.value = false;
}, 2000);
} else {
@@ -83,7 +83,7 @@ function onBack() {
:loading="loading"
@click="onLogin(ruleFormRef)"
>
</el-button>
</el-form-item>
</Motion>