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

使用Transition和ConfigProvider组件的页面间切换,出现瞬间组件样式丢失

Open werheng opened this issue 1 year ago • 0 comments
trafficstars

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.1.0

Environment

MacOS, Chrome, Vue3.2

Reproduction link

Edit on CodeSandbox

Steps to reproduce

在App.vue中使用Transition和ConfigProvider组件,在About.vue中使用ConfigProvider组件包裹并覆盖,Home.vue中默认使用最外层ConfigProvider的主题,从Home页来回切换至About页,出现瞬间的组件样式丢失

What is expected?

样式不丢失

What is actually happening?

组件瞬间样式丢失

werheng avatar Apr 09 '24 08:04 werheng