Refactor #3965 - Update for Timeline
parent
719841423e
commit
663765689c
|
@ -20,12 +20,12 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import BaseComponent from 'primevue/basecomponent';
|
|
||||||
import { ObjectUtils } from 'primevue/utils';
|
import { ObjectUtils } from 'primevue/utils';
|
||||||
|
import BaseTimeline from './BaseTimeline.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Timeline',
|
name: 'Timeline',
|
||||||
extends: BaseComponent,
|
extends: BaseTimeline,
|
||||||
methods: {
|
methods: {
|
||||||
getKey(item, index) {
|
getKey(item, index) {
|
||||||
return this.dataKey ? ObjectUtils.resolveFieldData(item, this.dataKey) : index;
|
return this.dataKey ? ObjectUtils.resolveFieldData(item, this.dataKey) : index;
|
||||||
|
|
Loading…
Reference in New Issue