mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-06 12:17:13 +08:00
refactor(timeline): remove hollowoutable
This commit is contained in:
parent
6c9b74f3ef
commit
c815f2742d
@ -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],
|
||||||
|
Loading…
Reference in New Issue
Block a user