修复group 里面 key 不合理导致表单项数据没有更新的问题

This commit is contained in:
2betop 2019-12-23 16:23:49 +08:00
parent 414884f9f8
commit 97b8195fe2

View File

@ -54,9 +54,7 @@ export class ControlGroupRenderer extends React.Component<InputGroupProps> {
renderVertical(props = this.props) {
let {controls, className, classnames: cx, mode, formMode, data} = props;
formMode = mode || formMode;
controls = controls.filter(item => isVisible(item, data));
return (
<div