tiny-vue
tiny-vue copied to clipboard
🐛 [Bug]: TinyTree组件在节点编辑状态未正常聚焦输入框
Version
3.11.1
Vue Version
3.3.7
Link to minimal reproduction
<tiny-tree
ref="treeRef"
lazy
node-key="_id"
:load="loadNode"
@edit-node="editNodeCB"
>
<template #default="{ data }">
{{ data.label }}
</template>
</tiny-tree>
//省略右键菜单步骤,row为选中编辑的节点data,_id为节点唯一标识
const treeRef = ref(null)
const node = treeRef.value.getNode(row._id);
treeRef.value.editNode(node);
Step to reproduce
What is expected
进入节点编辑模式时input框正常自动聚焦
What is actually happening
在第一次进入编辑时正常自动聚焦input框,但是往后就不行了
What is your project name
TinyPro二开的后台管理系统
Any additional comments (optional)
No response