export const tableColumns = [ { title: '序号', dataIndex: 'index', key: 'index', width: 75, customRender: ({ text, record, index }) => `${index + 1}`, }, { title: '设备名称', key: 'printerName', dataIndex: 'printerName', width: 150, }, { title: '设备类型', key: 'printerType', dataIndex: 'printerType', width: 150, }, { title: '是否支持Rfid', key: 'supportRfid', dataIndex: 'supportRfid', width: 150, }, { title: '操作', key: 'operation', dataIndex: 'operation', width: 150, }, ].map(item => ({ ...item, align: 'center', resizable: true, mainWidth: 75, maxWidth: 400, }));