Skip to content

nuxt3中使用const [messageApi, contextHolder] = message.useMessage();onmounted(() => {messageApi.info('zzz')})方式打开弹窗,页面直接白屏;同理使用app包裹组件也有同样的问题;非nuxt则正常 #7373

@robertyclin

Description

@robertyclin
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.1.0

Environment

nuxt3.10.2, vue3.4.19,chrome119

Reproduction link

https://antdv.com/docs/vue/introduce-cn

Steps to reproduce

使用message hooks方法
主动弹一个窗
页面白屏

What is expected?

message弹窗能正常弹出来,并符合我设置的token

What is actually happening?

页面一闪而过,然后就白屏了

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions