fix:添加分页,调整搜索参数错误

This commit is contained in:
wuyx
2022-12-02 15:05:19 +08:00
parent ba20216f1a
commit 746518bcb3

View File

@@ -121,7 +121,7 @@
</div>
<div class="tableBox">
<div class="pa">
<a-pagination v-if="(tableDataTotal > 1)" showSizeChanger="true" showQuickJumper="true"
<a-pagination v-if="(tableDataTotal > 10)" showSizeChanger="true" showQuickJumper="true"
hideOnSinglePage="true" :pageSize="pageSize" v-model:current="currentPage" :total="tableDataTotal"
class="pagination" @change="changePagination"
style="display:flex;justify-content:center;margin-top:12px;margin-bottom:12px;" />
@@ -336,7 +336,7 @@ export default {
getCurrentPage();
}
}
// TODO 这里后续需要给接口或者改动
// 获取所有,确定分页位置
const getCurrentPage = () => {
apiProj