ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

在nuxt3中,使用message.useMessage读取的contextHolder下js会报错,导致页面白屏

Open robertyclin opened this issue 1 year ago • 2 comments
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服务端渲染有问题

robertyclin avatar Jul 12 '24 03:07 robertyclin

image vue3.4.31、nuxt3.12.3、ant-design-vue4.2.3没有复现,template中有没有把<context-holder />写上,hook用法需要手动写context-holder

selicens avatar Jul 14 '24 14:07 selicens

就是在template上写就报错了。

robertyclin avatar Jul 25 '24 05:07 robertyclin

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

github-actions[bot] avatar Sep 24 '24 02:09 github-actions[bot]

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.

github-actions[bot] avatar Oct 02 '25 01:10 github-actions[bot]