Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

主题切换特定条件下失效以及风格错乱的bug,非常诡异 #7390

Closed
1 task
jiayp opened this issue Feb 29, 2024 · 1 comment
Closed
1 task
Labels

Comments

@jiayp
Copy link

jiayp commented Feb 29, 2024

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

Version

4.1.0

Environment

windows 10 chrome 122 vue 3.3.6

Reproduction link

https://感觉有些复杂,如果需要再提供环境吧。

Steps to reproduce

vue-router的全局afterEach中增加路由到A页面时切换主题的代码,然后代码路由到此页面,展示A页面

What is expected?

主题使用切换后的主题,A页面显示正常。

What is actually happening?

主题没有切换过来,而且一个组件的样式也是错的。当前A页面直接刷新是好的,使用A页面链接直接访问也是好的。并不是所有页面都有此问题。在有问题的A页面模板最前面插入如下代码后,问题也消失了:

<a-col>
<a-row> <a-col></a-col> </a-row
></a-col>
<a-col>
<a-row>
<a-col></a-col>
</a-row>
</a-col>
</a-row>
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant