[web] fix: delete root node

This commit is contained in:
jsers 2020-03-19 11:30:50 +08:00
parent 7e400f0c29
commit 91a4648c6f
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ class index extends Component<null, State> {
<div className="mt10 mb10" style={{ wordBreak: 'break-word' }}>
{_.get(selectedNode, 'path')}
</div>
<Popconfirm title="确定要删除这个节点吗?" onConfirm={this.handleDelNode}>
<Popconfirm disabled={isPdlNode} title="确定要删除这个节点吗?" onConfirm={this.handleDelNode}>
<Button disabled={isPdlNode}></Button>
</Popconfirm>
{