|
@@ -10,7 +10,7 @@
|
|
|
</Tabs>
|
|
</Tabs>
|
|
|
<app-pull-refresh ref="pullRefreshRef" class="news-list__container" v-model:error="error"
|
|
<app-pull-refresh ref="pullRefreshRef" class="news-list__container" v-model:error="error"
|
|
|
v-model:pageIndex="pageIndex" :page-count="pageCount" @refresh="onRefresh">
|
|
v-model:pageIndex="pageIndex" :page-count="pageCount" @refresh="onRefresh">
|
|
|
- <Empty v-if="dataList.length === 0" />
|
|
|
|
|
|
|
+ <Empty v-if="!dataList.length" />
|
|
|
<template v-for="(item, index) in dataList" :key="index">
|
|
<template v-for="(item, index) in dataList" :key="index">
|
|
|
<Cell class="article-item" title-class="article-item__title" value-class="article-item__time"
|
|
<Cell class="article-item" title-class="article-item__title" value-class="article-item__time"
|
|
|
:title="item.title" :value="formatDate(item.creaedate, 'MM/DD')"
|
|
:title="item.title" :value="formatDate(item.creaedate, 'MM/DD')"
|