|
|
@@ -15,7 +15,9 @@
|
|
|
</ElCard>
|
|
|
</div>
|
|
|
<div class="node-postfix">
|
|
|
- <div class="icon" target="delete" @click="deleteNode(id)"></div>
|
|
|
+ <template v-if="depth!==1">
|
|
|
+ <div class="icon" target="delete" @click="deleteNode(id)"></div>
|
|
|
+ </template>
|
|
|
<template v-if="depth!==4">
|
|
|
<div class="icon" target="add" @click="addChild(id)"></div>
|
|
|
</template>
|