fix: 修复回车保存模块失败

This commit is contained in:
shiziyuan9527 2021-07-08 15:08:55 +08:00 committed by 刘瑞斌
parent 70627fc20d
commit 1717f97298
1 changed files with 1 additions and 1 deletions

View File

@ -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>