mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-14 15:02:00 +08:00
fix(登录页面): 将密码输入框组件从Input.Password替换为InputPassword
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user