Support for PrimeFlex v3
parent
5011dcb462
commit
4dae38663f
|
@ -13,12 +13,12 @@
|
||||||
</template>
|
</template>
|
||||||
</DVPaginator>
|
</DVPaginator>
|
||||||
<div class="p-dataview-content">
|
<div class="p-dataview-content">
|
||||||
<div class="p-grid p-nogutter">
|
<div class="p-grid p-nogutter grid grid-nogutter">
|
||||||
<template v-for="(item,index) of items">
|
<template v-for="(item,index) of items">
|
||||||
<slot v-if="$slots.list && layout === 'list'" name="list" :data="item" :index="index"></slot>
|
<slot v-if="$slots.list && layout === 'list'" name="list" :data="item" :index="index"></slot>
|
||||||
<slot v-if="$slots.grid && layout === 'grid'" name="grid" :data="item" :index="index"></slot>
|
<slot v-if="$slots.grid && layout === 'grid'" name="grid" :data="item" :index="index"></slot>
|
||||||
</template>
|
</template>
|
||||||
<div v-if="empty" class="p-col">
|
<div v-if="empty" class="p-col col">
|
||||||
<div class="p-dataview-emptymessage">
|
<div class="p-dataview-emptymessage">
|
||||||
<slot name="empty"></slot>
|
<slot name="empty"></slot>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue