Skip to content

[useRequest] 当通过 cacheKey 共享 promise 时,只有一个 loading 会变成 true,其余的 loading 还是 false #2908

Description

@bowencool

这三个元素是同一个组件,cacheKey 相同(在结束后同时显示了data),但只有第一个组件显示了 loading

CleanShot.2026-02-27.12.19.08.mp4

Metadata

Metadata

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