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>
|
||||
<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" />
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -2,7 +2,8 @@ export default interface Lookup {
|
|||
id: number;
|
||||
documentId: string;
|
||||
collection: string;
|
||||
imageItem: boolean;
|
||||
image_item: boolean;
|
||||
date_list: boolean;
|
||||
reference: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
|
|
Loading…
Reference in a new issue