fix(TreeNode): stop keydown event propagation from content
parent
f7531d5c67
commit
c817ed9e63
|
@ -27,7 +27,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<span :class="cx('nodeIcon')" v-bind="getPTOptions('nodeIcon')"></span>
|
||||
<span :class="cx('label')" v-bind="getPTOptions('label')">
|
||||
<span :class="cx('label')" v-bind="getPTOptions('label')" @keydown.stop>
|
||||
<component v-if="templates[node.type] || templates['default']" :is="templates[node.type] || templates['default']" :node="node" />
|
||||
<template v-else>{{ label(node) }}</template>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue