forked from opentiny/tiny-vue
fix(timeline): 修复单个节点数据显示线条问题 (#105)
Signed-off-by: MNZhu <zhumaonan@aliyun.com>
This commit is contained in:
parent
985afeeb8d
commit
501010d66e
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue