diff --git a/public/version-build b/public/version-build index d341b585..27b45084 100644 --- a/public/version-build +++ b/public/version-build @@ -1 +1 @@ -3.2.0.1761459758865 \ No newline at end of file +3.2.0.1762059895763 \ No newline at end of file diff --git a/src/views/crud_book/CrudBookModelViewSet/crud.tsx b/src/views/crud_book/CrudBookModelViewSet/crud.tsx index 471cf8e5..7a671ae1 100644 --- a/src/views/crud_book/CrudBookModelViewSet/crud.tsx +++ b/src/views/crud_book/CrudBookModelViewSet/crud.tsx @@ -256,7 +256,7 @@ export default function ({ crudExpose }: { crudExpose: CrudExpose }): CreateCrud }, }, - location: { + file: { title: '电子书', form: { component: { @@ -294,19 +294,36 @@ export default function ({ crudExpose }: { crudExpose: CrudExpose }): CreateCrud }}>未上传; } } + }, + viewForm: { + component: { height: 100, width: 100 } } - // column: { - // component: { - // name: "fs-icon", - // style: "font-size:18px", - // previewTeleported: true, - // // @ts-ignore - // previewMask: () =>
{}
- // } - // }, - // viewForm: { - // component: { height: 100, width: 100 } - // } + }, + file_type: { + title: '文件类型', + type: 'input', + search: { show: false }, + column: { + minWidth: 80, + sortable: false, + }, + form: { + show: false // 文件类型自动获取,不在表单中显示 + } + }, + location: { + title: '存放位置', + type: 'input', + search: { show: false }, + column: { + minWidth: 120, + sortable: false, + }, + form: { + component: { + placeholder: '请输入图书存放位置', + }, + }, }, }, },