type change
This commit is contained in:
parent
4ea0f9b5a1
commit
af9e4557d1
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div v-for="item in collection" :key="item.slug" class="contents">
|
<div v-for="item in collection" :key="item.slug" class="contents">
|
||||||
<BaseListImageItem v-if="data?.lookup.imageItem" :data="item" />
|
<BaseListImageItem v-if="data?.lookup.image_item" :data="item" />
|
||||||
<BaseListItem v-else :data="item" />
|
<BaseListItem v-else :data="item" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -2,7 +2,8 @@ export default interface Lookup {
|
||||||
id: number;
|
id: number;
|
||||||
documentId: string;
|
documentId: string;
|
||||||
collection: string;
|
collection: string;
|
||||||
imageItem: boolean;
|
image_item: boolean;
|
||||||
|
date_list: boolean;
|
||||||
reference: string;
|
reference: string;
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
updatedAt: string;
|
updatedAt: string;
|
||||||
|
|
Loading…
Reference in a new issue