Commit 3bece1fc authored by Dr_rOot's avatar Dr_rOot Committed by ι™ˆεΈ…

fix EditableItem check not trigger props onChange (#3092)

parent 268ea2bd
......@@ -19,7 +19,7 @@ export default class EditableItem extends PureComponent {
check = () => {
this.setState({ editable: false });
const { value } = this.state;
const { onChange } = this.state;
const { onChange } = this.props;
if (onChange) {
onChange(value);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment