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]: 布局模式因窗口大小的变化而无法响应式恢复的问题 #408

Closed
redwolf1996 opened this issue Apr 25, 2024 · 4 comments
Labels
wontfix This will not be worked on

Comments

@redwolf1996
Copy link

redwolf1996 commented Apr 25, 2024

软件版本

main

运行环境

Windows (64)

运行架构

None

重现步骤

1.配置里选择混合模式布局
2.将窗口缩小至手机尺寸大小
3.再将窗口最大化恢复至正常大小
4.再查看配置项里的【布局模式】
image

期望的结果是什么?

期望布局模式还是之前选择的【混合模式】

实际的结果是什么?

布局模式在窗口缩小后临时变成了默认的左侧菜单模式,但是当窗口变化放大后,没有将这种布局模式切换回去

日志记录(可选)

No response

补充说明(可选)

刷新页面或者页面404也会导致布局模式回到默认模式
No response

@Azir-11 Azir-11 added the bug Something isn't working label Apr 25, 2024
@honghuangdc
Copy link
Member

参照问题 #361

@Azir-11 Azir-11 added wontfix This will not be worked on and removed bug Something isn't working labels Apr 25, 2024
@Azir-11
Copy link
Member

Azir-11 commented Apr 25, 2024

该问题属于短期不会处理的无关紧要bug,未来有余力了可能会修复,如果遇到了某个场景必须解决该问题的话欢迎重新open并进一步交流

@redwolf1996
Copy link
Author

该问题属于短期不会处理的无关紧要bug,未来有余力了可能会修复,如果遇到了某个场景必须解决该问题的话欢迎重新open并进一步交流
好的,等我看懂大佬代码了到时候提个pr, 现在不敢改:( , 另外刷新页面或者页面404也会导致布局模式回到默认模式,这个看下呢

@honghuangdc
Copy link
Member

该问题属于短期不会处理的无关紧要bug,未来有余力了可能会修复,如果遇到了某个场景必须解决该问题的话欢迎重新open并进一步交流
好的,等我看懂大佬代码了到时候提个pr, 现在不敢改:( , 另外刷新页面或者页面404也会导致布局模式回到默认模式,这个看下呢

本地开发阶段是不会缓存主题配置的,只会默认取 src/theme/settings.ts 的配置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants