Skip to content

[Feature Request]: 修改useList请求参数merge行为 #632

Description

@JackWang032

功能

其他

详细描述

useList使用 lodash merge 来实现参数的修改, 导致新参数为 undefined、数组等数据类型时,必须使用mutate((prev => ({...pvev, xxx: 123}))),并且数组项是逐个合并的,如原来为[1, 2, 3],新值为[4, 5],最终结果为[4, 5, 3],这不符合使用场景

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions