Skip to content

项目里如何只在一处地方添加contextHolder #307

@volare-v

Description

@volare-v

rc-notification v5.0.5

1、多个页面都需要通知,每一处地方都需要添加contextHolder,很是麻烦,且不知是否有冲突。

2、有一些弹窗也需要通知,通知的同时需要关闭弹窗,一旦弹窗关闭了,通知也直接不见了。

因以上2点问题,我想问下有没有办法在根页面添加一次contextHolder后,其他页面直接调用通知就可以了?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions