import { h } from 'vue';
import { Tag } from 'ant-design-vue';

export const columns = [
  {
    title: '分类名称',
    dataIndex: 'name',
    key: 'name',
    width: 200,
  },
  {
    title: '分类排序',
    dataIndex: 'sort',
    key: 'sort',
    width: 100,
  },
  {
    title: '分类备注',
    dataIndex: 'note',
    key: 'note',
    width: 100,
  },
  {
    title: '创建人',
    dataIndex: 'createUser',
    key: 'createUser',
    width: 100,
  },
  {
    title: '创建时间',
    dataIndex: 'createTime',
    key: 'createTime',
    width: 180,
  },
  {
    title: '操作',
    width: 200,
    fixed: 'right',
    key: 'action',
    dataIndex: 'action',
  },
];
