refactor(04): tree component for id

This commit is contained in:
puriphatt 2024-09-19 13:58:07 +07:00
parent 1fa79cd584
commit 3a7a6fc84e
2 changed files with 7 additions and 6 deletions

View file

@ -64,7 +64,7 @@ defineEmits<{
$emit('select', node);
}
"
:id="`tree-enter-${node.name}`"
:id="`tree-enter-${node.name}${node.for ? `-${node.for}` : ''}`"
>
<div class="row col items-center justify-between full-width no-wrap">
<q-icon