mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-04-12 06:33:15 +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 { DEFAULT_TENANT_ID } from '@vben/constants';
|
||||||
import { $t } from '@vben/locales';
|
import { $t } from '@vben/locales';
|
||||||
|
|
||||||
import { Input, Select } from 'antdv-next';
|
import { Input, InputPassword, Select } from 'antdv-next';
|
||||||
import { omit } from 'lodash-es';
|
import { omit } from 'lodash-es';
|
||||||
|
|
||||||
import { tenantList } from '#/api';
|
import { tenantList } from '#/api';
|
||||||
@@ -116,7 +116,7 @@ const formSchema = computed((): VbenFormSchema[] => {
|
|||||||
rules: z.string().min(1, { message: $t('authentication.usernameTip') }),
|
rules: z.string().min(1, { message: $t('authentication.usernameTip') }),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
component: markRaw(Input.Password),
|
component: markRaw(InputPassword),
|
||||||
modelPropName: 'value',
|
modelPropName: 'value',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
size: 'large',
|
size: 'large',
|
||||||
|
|||||||
Reference in New Issue
Block a user