Skip to content

[Bug]: useTable 查询参数无法重置问题 #552

@m-xlsea

Description

@m-xlsea

软件版本

1.2.7

运行环境

Windows (64)

运行架构

AMD64

重现步骤

apiParams: {
    page: 1,
    pageSize: 10,
    // if you want to use the searchParams in Form, you need to define the following properties, and the value is null
    // the value can not be undefined, otherwise the property in Form will not be reactive
    data: {
      name: null,
      type: null,
      status: null
    }
  }

apiParams 在多套一层 data 后,resetSearchParams 无法重置查询参数

期望的结果是什么?

页面查询参数被重置

实际的结果是什么?

页面查询参数没有被重置

日志记录(可选)

No response

补充说明(可选)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions