react antd design columns 配置解析
只上干货,其中有些可以参考官方文档
import { history } from 'umi'
const columns: any[] = [
{
title: '订单号',//列头显示的文字
fixed: 'left', //整列固定在左侧(right等参数 其中fixed:true ==fixed:left)
width: 200,//列头的宽度
order: 7,//列头的排序
key:"id",//搜索时候重定义搜索参数..
原创
2022-03-24 15:36:42 ·
3179 阅读 ·
2 评论