feat: fix emerge bug

pull/107/head 2.2.2
huoyong.msb 5 years ago
parent 9efef03b92
commit d56809d2b2

@ -116,7 +116,7 @@ class InterfaceSummary extends Component<
this.switchBodyOption = this.switchBodyOption.bind(this)
this.switchPos = this.switchPos.bind(this)
this.copyModelName = this.copyModelName.bind(this)
props.stateChangeHandler(this.state)
props.stateChangeHandler && props.stateChangeHandler(this.state)
}
switchBodyOption(val: BODY_OPTION) {
this.setState({ bodyOption: val },

@ -628,6 +628,7 @@ class PropertyList extends PureComponent<any, any> {
interfaceId,
scope,
parentId: parent.id,
pos: scope === 'request' ? this.props.posFilter : undefined,
}
this.setState({
highlightId: childId,

Loading…
Cancel
Save