ant-design-vue
ant-design-vue copied to clipboard
在nuxt3中,使用message.useMessage读取的contextHolder下js会报错,导致页面白屏
trafficstars
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.2.3
Environment
nuxt3.10.2, vue3.4.19,chrome119
Reproduction link
https://antdv.com/components/message-cn
Steps to reproduce
What is expected?
能正常展示
What is actually happening?
contextHolder服务端渲染有问题
vue3.4.31、nuxt3.12.3、ant-design-vue4.2.3没有复现,template中有没有把
<context-holder />写上,hook用法需要手动写context-holder
就是在template上写
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.