ossfile.data.ts 565 B

123456789101112131415161718192021222324252627282930
  1. import { BasicColumn } from '/@/components/Table';
  2. import { FormSchema } from '/@/components/Table';
  3. export const columns: BasicColumn[] = [
  4. {
  5. title: '文件名称',
  6. dataIndex: 'fileName',
  7. width: 120,
  8. },
  9. {
  10. title: '文件地址',
  11. dataIndex: 'url',
  12. width: 100,
  13. },
  14. ];
  15. export const searchFormSchema: FormSchema[] = [
  16. {
  17. label: '文件名称',
  18. field: 'fileName',
  19. component: 'Input',
  20. colProps: { span: 6 },
  21. },
  22. {
  23. label: '文件地址',
  24. field: 'url',
  25. component: 'Input',
  26. colProps: { span: 6 },
  27. },
  28. ];