Skip to content

Message组件显示问题 #8419

@lisentowind

Description

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

Version

4.2.6

Environment

System:
OS: Windows 10 10.0.19044
CPU: (4) x64 Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
Memory: 7.15 GB / 23.94 GB
Binaries:
Node: 22.20.0 - C:\nvm4w\nodejs\node.EXE
Yarn: 1.22.22 - C:\nvm4w\nodejs\yarn.CMD
npm: 10.9.3 - C:\nvm4w\nodejs\npm.CMD
pnpm: 10.6.5 - C:\nvm4w\nodejs\pnpm.CMD
bun: 1.2.23 - C:\Users\Administrator.bun\bin\bun.EXE
Browsers:
Chrome: 142.0.7444.135
Edge: Chromium (140.0.3485.94)
Internet Explorer: 11.0.19041.5794
Packages:
vue: ^3.5.24
ant-design-vue: ~4.2.6

Reproduction link

https://antdv.com/components/message-cn#api

Steps to reproduce

Message组件在消息没有关闭的时候 切换暗色或者亮色 会导致显示异常
在官方文档就能最小复现
https://antdv.com/components/message-cn#api
截图:
Image

What is expected?

正常显示

What is actually happening?

切换暗色或者亮色时 样式丢失

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions