AstrBot
AstrBot copied to clipboard
[Bug] 前端页面所有Radio组件的样式被污染
What happened / 发生了什么
当前版本(V4.22)所有的Radio的按钮都无法正确渲染,但是功能正常
Reproduce / 如何复现?
启动项目即可复现
AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
astrbot版本:V4.22.0
OS
Windows
Logs / 报错日志
v4.20时期的样式
当前版本
Are you willing to submit a PR? / 你愿意提交 PR 吗?
- [ ] Yes!
Code of Conduct
- [x] I have read and agree to abide by the project's Code of Conduct。
你ip漏了我要当低黑的调客 和 issue #6881 中的问题相同
Hi @M1LKT! I'm Dosu and I’m helping the AstrBot team.
这个问题是由 PR #6532 引入的。该PR为了优化前端资源体积,将MDI图标字体从387KB削减至12.7KB,但字体子集化脚本遗漏了Vuetify Radio组件的默认图标:mdi-radiobox-marked 和 mdi-radiobox-blank。
修复方案:在 dashboard/scripts/subset-mdi-font.mjs 中手动添加这两个图标到必需图标列表,然后重新构建。
To reply, just mention @dosu.
Docs are dead. Just use Dosu.
fixed in #6892