import { column } from "@/types/column"
const columns:Array<column>=
[
  {
    title: '发布时间',
    align:'center',
    dataIndex: 'created_at',
    scopedSlots:{
      customRender :'created_at'
    }
  },
  {
    title: '问题',
    align:'center',
    dataIndex: 'question',
  },
  {
    title: '回复',
    align:'center',
    dataIndex: 'answer',
  },
  {
    title: '状态',
    align:'center',
    dataIndex: 'faq_status',
    scopedSlots: {
      customRender: 'faq_status', 
    }
  },
  {
    title: '操作',
    align:'center',
    dataIndex: 'action',
    scopedSlots: { customRender: 'action' },
  }
]

export {
  columns
}