fix: ele 不存在InputPassword组件

This commit is contained in:
xingyu4j
2025-09-19 16:09:45 +08:00
parent 033bd21ff8
commit a75754c2ec
4 changed files with 11 additions and 4 deletions

View File

@@ -38,8 +38,9 @@ export function useFormSchema(): VbenFormSchema[] {
{
fieldName: 'password',
label: '密码',
component: 'InputPassword',
component: 'Input',
componentProps: {
showPassword: true,
placeholder: '请输入密码',
},
rules: 'required',

View File

@@ -7,7 +7,7 @@ import { ref } from 'vue';
import { confirm, DocAlert, Page, useVbenModal } from '@vben/common-ui';
import { downloadFileFromBlobPart, isEmpty } from '@vben/utils';
import {ElLoading, ElMessage} from 'element-plus';
import { ElLoading, ElMessage } from 'element-plus';
import { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table';
import {

View File

@@ -62,7 +62,10 @@ export function useFormSchema(): VbenFormSchema[] {
{
label: '用户密码',
fieldName: 'password',
component: 'InputPassword',
component: 'Input',
componentProps: {
showPassword: true,
},
rules: 'required',
dependencies: {
triggerFields: ['id'],

View File

@@ -33,7 +33,10 @@ export function useFormSchema(): VbenFormSchema[] {
{
label: '用户密码',
fieldName: 'password',
component: 'InputPassword',
component: 'Input',
componentProps: {
showPassword: true,
},
rules: 'required',
dependencies: {
triggerFields: ['id'],