Skip to content

[Bug]: usePagination分页策略,remove使用问题 #785

@Abc2928399332

Description

@Abc2928399332

这是否是一个 Bug?

  • 我已经确认我要报告的是一个 Bug

这个问题是否已经存在?

  • 我已经确认这个 Issue 没有被报告过

Alova 版本

^3.3.4

前端框架

其他框架

问题描述

我使用usePagination时,想要在调用删除接口成功之后,使用remove来删除数据,并进行数据前补,但是数据没有正常删除

期望的表现

No response

复现链接

https://gitee.com/zoucunhao19990117/wd-ui-demo.git

复现步骤

首页,我使用了mock模拟数据,共26条,分页每次查10条,触底加载,追加模式
1、先查询出20条数据
2、删除一条数据,比如第五条
3、查看控制台日志

系统信息

补充说明

No response

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions