-
-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Labels
bug:need-confirmIt's probably a bugIt's probably a buglang:chineseThis issue uses ChineseThis issue uses Chinese
Description
这是否是一个 Bug?
- 我已经确认我要报告的是一个 Bug
这个问题是否已经存在?
- 我已经确认这个 Issue 没有被报告过
Alova 版本
3.5.1
前端框架
React
问题描述
文档中提供了使用方法,但是当数据字段不在第一层级的时候,使用remove方法删除一项会报错
使用可选访问符可以抑制报错 data: (response) => response.data?.records,,但是不符合TS类型推断,因为 records 在 response 中是明确存在的
期望的表现
无报错
复现链接
No response
复现步骤
使用复杂的接口层级结构,指定分页数据,使用remove方法删除其中一项
系统信息
补充说明
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug:need-confirmIt's probably a bugIt's probably a buglang:chineseThis issue uses ChineseThis issue uses Chinese