when you add a new top level, there is no superior menu ID, to hide it
here I use a modal box
<Button icon="plus" type="primary" onClick={() => this.handleModalVisibleAdd(record)}>
</Button>
<Form>
{/* {this.props.data.PARENT_ID ? (
<FormItem
{...formItemLayout}
label="ID"
>
{getFieldDecorator("PARENT_ID", {
initialValue: this.props.data.ID,
rules: [{
// required: true, message: "",
}],
})(
<Input disabled />
)}
</FormItem>
) : null
} */}
......
</Form>
pasted part of the code to realize some problems
how to do it