fix: ele 不存在InputPassword组件
This commit is contained in:
@@ -38,8 +38,9 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
{
|
||||
fieldName: 'password',
|
||||
label: '密码',
|
||||
component: 'InputPassword',
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
showPassword: true,
|
||||
placeholder: '请输入密码',
|
||||
},
|
||||
rules: 'required',
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -62,7 +62,10 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
{
|
||||
label: '用户密码',
|
||||
fieldName: 'password',
|
||||
component: 'InputPassword',
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
showPassword: true,
|
||||
},
|
||||
rules: 'required',
|
||||
dependencies: {
|
||||
triggerFields: ['id'],
|
||||
|
||||
@@ -33,7 +33,10 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
{
|
||||
label: '用户密码',
|
||||
fieldName: 'password',
|
||||
component: 'InputPassword',
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
showPassword: true,
|
||||
},
|
||||
rules: 'required',
|
||||
dependencies: {
|
||||
triggerFields: ['id'],
|
||||
|
||||
Reference in New Issue
Block a user