提交 9024a985 authored 作者: lihuihui's avatar lihuihui

修改分页

上级 014b885c
......@@ -21,14 +21,15 @@
</li>
</template>
</ul>
<div class="pages-box">
<!-- <div class="pages-box">
<el-pagination
layout="prev, pager, next"
@current-change="handleCurrentChange"
page-size=10
:total="pages.total">
page-size="10"
:total="pages.total"
>
</el-pagination>
</div>
</div> -->
</div>
</div>
</template>
......@@ -39,7 +40,8 @@ export default {
components: { tab, appLink },
data() {
return {
listData: []
listData: [],
pages: {}
}
},
async fetch() {
......@@ -52,6 +54,7 @@ export default {
})
},
methods: {
handleCurrentChange() {},
formatDate(value) {
const date = new Date(value * 1000)
console.log(date.getMonth())
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论