fix: ele 不存在InputPassword组件
parent
033bd21ff8
commit
a75754c2ec
|
|
@ -38,8 +38,9 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||||
{
|
{
|
||||||
fieldName: 'password',
|
fieldName: 'password',
|
||||||
label: '密码',
|
label: '密码',
|
||||||
component: 'InputPassword',
|
component: 'Input',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
|
showPassword: true,
|
||||||
placeholder: '请输入密码',
|
placeholder: '请输入密码',
|
||||||
},
|
},
|
||||||
rules: 'required',
|
rules: 'required',
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ import { ref } from 'vue';
|
||||||
import { confirm, DocAlert, Page, useVbenModal } from '@vben/common-ui';
|
import { confirm, DocAlert, Page, useVbenModal } from '@vben/common-ui';
|
||||||
import { downloadFileFromBlobPart, isEmpty } from '@vben/utils';
|
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 { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,10 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||||
{
|
{
|
||||||
label: '用户密码',
|
label: '用户密码',
|
||||||
fieldName: 'password',
|
fieldName: 'password',
|
||||||
component: 'InputPassword',
|
component: 'Input',
|
||||||
|
componentProps: {
|
||||||
|
showPassword: true,
|
||||||
|
},
|
||||||
rules: 'required',
|
rules: 'required',
|
||||||
dependencies: {
|
dependencies: {
|
||||||
triggerFields: ['id'],
|
triggerFields: ['id'],
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,10 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||||
{
|
{
|
||||||
label: '用户密码',
|
label: '用户密码',
|
||||||
fieldName: 'password',
|
fieldName: 'password',
|
||||||
component: 'InputPassword',
|
component: 'Input',
|
||||||
|
componentProps: {
|
||||||
|
showPassword: true,
|
||||||
|
},
|
||||||
rules: 'required',
|
rules: 'required',
|
||||||
dependencies: {
|
dependencies: {
|
||||||
triggerFields: ['id'],
|
triggerFields: ['id'],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue