fix 修复分页未生效的问题
This commit is contained in:
parent
eb76595bb9
commit
5c3773e235
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="h-full m-4 bg-white rounded-2 shadow-lg p-8 flex flex-col justify-between space-y-4">
|
||||
<div class="h-full m-4 bg-white rounded-2 shadow-lg p-8 flex flex-col justify-between space-y-4 overscroll-auto">
|
||||
<div class="flex justify-between">
|
||||
<div class="flex items-center space-x-16">
|
||||
<div>当前汇率:<span class="text-xl">{{spiderCfg.exchangeRate}}</span></div>
|
||||
@ -10,8 +10,8 @@
|
||||
<a-button type="primary" :disabled="loading" @click="search">搜索</a-button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="h-full border-0 border-t-1 border-solid border-gray-300 pt-4">
|
||||
<a-spin :spinning="loading" :indicator="indicator">
|
||||
<div class="h-full border-0 border-t-1 border-solid border-gray-300 pt-4 overscroll-auto ">
|
||||
<a-spin :spinning="loading" :indicator="indicator">
|
||||
<a-table :dataSource="data.list" :columns="columns" :custom-row="customRow" :pagination="false" @change="tableChange" rowKey="pid" @expand="expand">
|
||||
<template #bodyCell="{ column, record }">
|
||||
<template v-if="column.key === 'name'">
|
||||
@ -86,7 +86,7 @@
|
||||
</a-table>
|
||||
</a-spin>
|
||||
</div>
|
||||
<a-pagination :disabled="loading" class="text-right" v-model:current="query.page" :total="data.total" show-less-items @change="list"/>
|
||||
<a-pagination :disabled="loading" class="text-right" v-model:current="query.page" v-model:page-size="query.size" :total="data.total" show-less-items @change="list"/>
|
||||
</div>
|
||||
<a-modal v-model:open="editData.editModal" @ok="doUpdate">
|
||||
<template #title>
|
||||
|
Loading…
Reference in New Issue
Block a user