server.data.ts 436 Bytes
Newer Older
zhangsan's avatar
zhangsan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
import { BasicColumn } from '/@/components/Table';

export const columns: BasicColumn[] = [
  {
    title: '参数',
    dataIndex: 'param',
    width: 80,
    align: 'left',
    slots: { customRender: 'param' },
  },
  {
    title: '描述',
    dataIndex: 'text',
    slots: { customRender: 'text' },
    width: 80,
  },
  {
    title: '当前值',
    dataIndex: 'value',
    slots: { customRender: 'value' },
    width: 80,
  },
];