fix(timeline): 修复单个节点数据显示线条问题 (#105)

Signed-off-by: MNZhu <zhumaonan@aliyun.com>
This commit is contained in:
jacknan 2023-04-03 22:58:45 +08:00 committed by GitHub
parent 985afeeb8d
commit 501010d66e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@
<div v-if="!node.fold" :class="['content', node.time ? 'content-left-margin' : null]">
<slot name="content" :item="node"></slot>
</div>
<div :class="['line', node.time ? 'line-left-margin' : null]"></div>
<div v-if="state.nodes.length > 1" :class="['line', node.time ? 'line-left-margin' : null]"></div>
</li>
</ul>
</div>