Skip to content

Params请求参数interface没有导出 #186

Description

@vonweb

Params请求参数interface存在于service文件内,没有导出,尽管大多数params参数都比较简单,若是能导出会更好

xxxUsingGETExtraConfig {
  params: {
    p1: string
    p2?: number
  }
}

在使用useForm(params => method({params}))的时候params参数类型不能自动推算出来

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