mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
fix:添加分页,调整搜索参数错误
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user