mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 09:16:46 +08:00
fix:添加分页,调整搜索参数错误
This commit is contained in:
@@ -121,7 +121,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="tableBox">
|
<div class="tableBox">
|
||||||
<div class="pa">
|
<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"
|
hideOnSinglePage="true" :pageSize="pageSize" v-model:current="currentPage" :total="tableDataTotal"
|
||||||
class="pagination" @change="changePagination"
|
class="pagination" @change="changePagination"
|
||||||
style="display:flex;justify-content:center;margin-top:12px;margin-bottom:12px;" />
|
style="display:flex;justify-content:center;margin-top:12px;margin-bottom:12px;" />
|
||||||
@@ -336,7 +336,7 @@ export default {
|
|||||||
getCurrentPage();
|
getCurrentPage();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// TODO 这里后续需要给接口或者改动
|
||||||
// 获取所有,确定分页位置
|
// 获取所有,确定分页位置
|
||||||
const getCurrentPage = () => {
|
const getCurrentPage = () => {
|
||||||
apiProj
|
apiProj
|
||||||
|
|||||||
Reference in New Issue
Block a user