server.data.ts 436 B

1234567891011121314151617181920212223
  1. import { BasicColumn } from '/@/components/Table';
  2. export const columns: BasicColumn[] = [
  3. {
  4. title: '参数',
  5. dataIndex: 'param',
  6. width: 80,
  7. align: 'left',
  8. slots: { customRender: 'param' },
  9. },
  10. {
  11. title: '描述',
  12. dataIndex: 'text',
  13. slots: { customRender: 'text' },
  14. width: 80,
  15. },
  16. {
  17. title: '当前值',
  18. dataIndex: 'value',
  19. slots: { customRender: 'value' },
  20. width: 80,
  21. },
  22. ];