refactor(timeline): remove hollowoutable

This commit is contained in:
07akioni 2020-10-29 00:56:16 +08:00
parent 6c9b74f3ef
commit c815f2742d

View File

@ -9,9 +9,6 @@
<div class="n-timeline-item-timeline__line" /> <div class="n-timeline-item-timeline__line" />
<div <div
class="n-timeline-item-timeline__circle" class="n-timeline-item-timeline__circle"
:style="{
backgroundColor: ascendantBackgroundColor
}"
/> />
</div> </div>
<div class="n-timeline-item-content"> <div class="n-timeline-item-content">
@ -38,8 +35,6 @@
</template> </template>
<script> <script>
import hollowoutable from '../../_mixins/hollowoutable'
export default { export default {
inject: { inject: {
NTimeline: { NTimeline: {
@ -47,7 +42,6 @@ export default {
} }
}, },
name: 'TimelineItem', name: 'TimelineItem',
mixins: [ hollowoutable ],
props: { props: {
time: { time: {
type: [String, Number], type: [String, Number],