table的筛选

{
        dataIndex: 'ruleMatchState',
        title: '规则匹配结果',
        filters: RULE_STATUS.map(o=> {
          return { text: o.label, value: o.value };
        }),
        onFilter: (value, record) => record.actionState === value
}

  

原文地址:https://www.cnblogs.com/lipu12281/p/13549186.html