Commit 7d128317 authored by liwenhong's avatar liwenhong

Merge branch 'feature/merchant-managemet'

parents b8979b9d fe4269c8
......@@ -29,7 +29,7 @@
background
layout="prev, pager, next"
:total="pageCount"
:page-size="10"
:page-size="20"
v-model:currentPage="currentPage"
@current-change="handleCurrentChange"
></el-pagination>
......@@ -135,7 +135,7 @@
this.merchantAdd = true;
},
async getOtaList() {
const { result, code, reason } = await otaList();
const { result, code, reason } = await otaList({ limit: this.pageSize, offset: (this.currentPage - 1) * this.pageSize });
if (code !== 0) return this.$message.error(reason);
this.merchantList = result.list;
this.pageCount = result.total;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment