zhanglei
zhanglei
> 你忘了给 onChange 参数了 > > ``` > { > renderFormItem: (item, { onChange }) => ( > onChange={(e) => { > onChange(e); > onmyChange(e); > }} > /> >...
> show your code 
2.4.4 =>  2.5.14 => 
> 直接把代码贴出来,我方便做重现 { title: '分期', dataIndex: 'phaseId', render: (val, row) => row.phaseName, order: 5, valueEnum: formatValueEnum(phases, 'id', 'phaseName'), formItemProps: { showSearch: true, mode: 'multiple', maxTagCount: 1, maxTagTextLength: 6, filterOption: (input,...
用order属性就可以吧
``` { title: '业态类型', dataIndex: 'format', render: (val, row) => row.formatName, order: 2, valueEnum: formatValueEnum(formats, 'value', 'desc'), formItemProps: { allowClear: true, onChange: () => console.log('onChange'), }, } ```
> 应该是生效的,我透传了下去,我来试试 咋样小哥,是问题吗
> 我试了一下是生效的,试着完全更新一下依赖 我把node_modules和lock文件全删了重装了依赖,还是不行。。。
antd也是最新的(本地4.5.4),是还有什么其他包会有影响吗 
``` formItemProps: { showSearch: true, mode: 'multiple', maxTagCount: 1, maxTagTextLength: 6, optionFilterProp: 'children', allowClear: true, onChange: this.handlePhaseChange, } ```