修复根节点可以编辑和删除的BUG

This commit is contained in:
fangxiang 2022-09-28 09:19:44 +08:00
parent 56e3180c32
commit 84107da795
3 changed files with 5 additions and 5 deletions

View File

@ -120,7 +120,7 @@
clickable
v-ripple
v-close-popup
v-if="prop.node.item_data"
v-if="prop.node.item_data && prop.node.item_data.uuid"
@click="
() =>
(prop.node.is_group
@ -140,7 +140,7 @@
clickable
v-ripple
v-close-popup
v-if="prop.node.item_data"
v-if="prop.node.item_data && prop.node.item_data.uuid"
@click="
(evt) => deleteItem(evt, prop.node.is_group, prop.node.uuid)
"

View File

@ -121,7 +121,7 @@
clickable
v-ripple
v-close-popup
v-if="prop.node.item_data"
v-if="prop.node.item_data && prop.node.item_data.uuid"
@click="
() =>
(prop.node.is_group
@ -141,7 +141,7 @@
clickable
v-ripple
v-close-popup
v-if="prop.node.item_data"
v-if="prop.node.item_data && prop.node.item_data.uuid"
@click="
(evt) => deleteItem(evt, prop.node.is_group, prop.node.uuid)
"

View File

@ -96,7 +96,7 @@
clickable
v-ripple
v-close-popup
v-if="prop.node.item_data"
v-if="prop.node.item_data && prop.node.item_data.uuid"
@click="
(evt) => deleteItem(evt, prop.node.is_group, prop.node.uuid)
"