Skip to content

[bug]request-client.ts和preset-interceptor.ts是冲突的? #8196

Description

@absop

前者在catch(error)后抛出了error.response.data而丢弃了其它信息,而后者要访问error.response.status。这导致总是提示默认的内部服务器错误,而不是具体错误

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