feat 添加分页
All checks were successful
Build image / build (push) Successful in 1m44s

This commit is contained in:
timerzz 2024-05-14 22:45:14 +08:00
parent ede163fd63
commit 4c9e139f39
3 changed files with 4 additions and 2 deletions

View File

@ -35,6 +35,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"/>
</div>
</template>
<script setup>
@ -75,6 +76,7 @@ const columns = [
title: '名称',
dataIndex: 'name',
key: 'name',
width:300,
},
{
title: '货号',

View File

@ -25,7 +25,7 @@
</a-table>
</a-spin>
</div>
<a-pagination :disabled="loading" class="text-right" v-model:current="query.page" :total="data.total" show-less-items />
<a-pagination :disabled="loading" class="text-right" v-model:current="query.page" :total="data.total" show-less-items @change="list"/>
</div>
<a-modal v-model:open="addModal.visible" title="添加推送通知" @ok="handleOk" >
<a-spin :spinning="addModal.loading" :indicator="indicator">

View File

@ -37,7 +37,7 @@
</a-table>
</a-spin>
</div>
<a-pagination :disabled="loading" class="text-right" v-model:current="query.page" :total="data.total" show-less-items />
<a-pagination :disabled="loading" class="text-right" v-model:current="query.page" :total="data.total" show-less-items @change="list" />
</div>
<a-modal v-model:open="addModal.visible" title="添加监听任务" @ok="handleOk" >
<a-spin :spinning="addModal.loading" :indicator="indicator">