fix: 修复回车保存模块失败
This commit is contained in:
parent
3c32e61f2a
commit
b68680bddc
|
@ -22,7 +22,7 @@
|
|||
<span class="custom-tree-node father" @click="handleNodeSelect(node)">
|
||||
|
||||
<span v-if="data.isEdit" @click.stop>
|
||||
<el-input @blur.stop="save(node, data)" @keyup.enter.native.stop="$event.target.blur" v-model="data.name"
|
||||
<el-input @blur.stop="save(node, data)" @keyup.enter.native.stop="$event.target.blur()" v-model="data.name"
|
||||
class="name-input" size="mini" ref="nameInput"/>
|
||||
</span>
|
||||
|
||||
|
|
Loading…
Reference in New Issue