[web] fix: delete root node
This commit is contained in:
parent
7e400f0c29
commit
91a4648c6f
|
@ -184,7 +184,7 @@ class index extends Component<null, State> {
|
||||||
<div className="mt10 mb10" style={{ wordBreak: 'break-word' }}>
|
<div className="mt10 mb10" style={{ wordBreak: 'break-word' }}>
|
||||||
{_.get(selectedNode, 'path')}
|
{_.get(selectedNode, 'path')}
|
||||||
</div>
|
</div>
|
||||||
<Popconfirm title="确定要删除这个节点吗?" onConfirm={this.handleDelNode}>
|
<Popconfirm disabled={isPdlNode} title="确定要删除这个节点吗?" onConfirm={this.handleDelNode}>
|
||||||
<Button disabled={isPdlNode}>删除</Button>
|
<Button disabled={isPdlNode}>删除</Button>
|
||||||
</Popconfirm>
|
</Popconfirm>
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue