2
0

fix:登录界面校验删除以及显示修改

This commit is contained in:
zhongzm
2025-04-15 20:03:23 +08:00
parent d4c901d1c6
commit 092864e661
3 changed files with 8 additions and 8 deletions

View File

@@ -49,9 +49,9 @@ const model = reactive<LoginForm>({
wanfiRedirectParams: {}
});
const rules = {
username: patternRules.username,
};
// const rules = {
// username: patternRules.username,
// };
async function handleSubmit() {
await validate();
@@ -95,7 +95,7 @@ async function getCheckCode() {
</script>
<template>
<AForm ref="formRef" :model="model" :rules="rules">
<AForm ref="formRef" :model="model">
<AFormItem name="username">
<AInput v-model:value="model.username" size="large" :placeholder="$t('page.login.common.userNamePlaceholder')" autocomplete="off"/>
</AFormItem>