fix: vue3 role schema

This commit is contained in:
xingyu4j 2022-12-01 10:18:45 +08:00
parent f59a6883f8
commit 99c21e52c8

View File

@ -28,7 +28,8 @@ const crudSchemas = reactive<VxeCrudSchema>({
title: '角色类型',
field: 'type',
dictType: DICT_TYPE.SYSTEM_ROLE_TYPE,
dictClass: 'number'
dictClass: 'number',
isForm: false
},
{
title: '角色标识',
@ -39,6 +40,21 @@ const crudSchemas = reactive<VxeCrudSchema>({
title: '显示顺序',
field: 'sort'
},
{
title: t('form.remark'),
field: 'remark',
isTable: false,
form: {
component: 'Input',
componentProps: {
type: 'textarea',
rows: 4
},
colProps: {
span: 24
}
}
},
{
title: t('common.status'),
field: 'status',