fix(登录页面): 将密码输入框组件从Input.Password替换为InputPassword

This commit is contained in:
dap
2026-01-19 17:53:03 +08:00
parent 946b148cfa
commit c713828037

View File

@@ -10,7 +10,7 @@ import { AuthenticationLogin, z } from '@vben/common-ui';
import { DEFAULT_TENANT_ID } from '@vben/constants';
import { $t } from '@vben/locales';
import { Input, Select } from 'antdv-next';
import { Input, InputPassword, Select } from 'antdv-next';
import { omit } from 'lodash-es';
import { tenantList } from '#/api';
@@ -116,7 +116,7 @@ const formSchema = computed((): VbenFormSchema[] => {
rules: z.string().min(1, { message: $t('authentication.usernameTip') }),
},
{
component: markRaw(Input.Password),
component: markRaw(InputPassword),
modelPropName: 'value',
componentProps: {
size: 'large',