refactor: dict

This commit is contained in:
xingyu
2022-11-16 23:15:14 +08:00
parent 7c0c123b9a
commit 7455348a6e
39 changed files with 155 additions and 54 deletions

View File

@ -48,6 +48,7 @@ const crudSchemas = reactive<CrudSchema[]>([
label: '存储器',
field: 'storage',
dictType: DICT_TYPE.INFRA_FILE_STORAGE,
dictData: 'number',
search: {
show: true
}
@ -55,7 +56,8 @@ const crudSchemas = reactive<CrudSchema[]>([
{
label: '主配置',
field: 'primary',
dictType: DICT_TYPE.INFRA_BOOLEAN_STRING
dictType: DICT_TYPE.INFRA_BOOLEAN_STRING,
dictData: 'number'
},
{
label: t('form.remark'),