Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
volare-v opened this issue Aug 15, 2023 · 0 comments
Open

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

volare-v opened this issue Aug 15, 2023 · 0 comments

Comments

@volare-v
Copy link

rc-notification v5.0.5

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant