Update Timeline.vue
parent
6c39522495
commit
dbd5c52dfe
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div :class="cx('root')" v-bind="ptm('root')">
|
<div :class="cx('root')" v-bind="ptm('root')" data-pc-name="timeline">
|
||||||
<div v-for="(item, index) of value" :key="getKey(item, index)" :class="cx('event')" v-bind="ptm('event')">
|
<div v-for="(item, index) of value" :key="getKey(item, index)" :class="cx('event')" v-bind="ptm('event')">
|
||||||
<div :class="cx('opposite')" v-bind="ptm('opposite')">
|
<div :class="cx('opposite')" v-bind="ptm('opposite')">
|
||||||
<slot name="opposite" :item="item" :index="index"></slot>
|
<slot name="opposite" :item="item" :index="index"></slot>
|
||||||
|
|
Loading…
Reference in New Issue