AstrBot icon indicating copy to clipboard operation
AstrBot copied to clipboard

[Bug] 前端页面所有Radio组件的样式被污染

Open M1LKT opened this issue 8 months ago • 3 comments

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时期的样式

Image

当前版本 Image

Are you willing to submit a PR? / 你愿意提交 PR 吗?

  • [ ] Yes!

Code of Conduct

M1LKT avatar Mar 24 '26 05:03 M1LKT

你ip漏了我要当低黑的调客 和 issue #6881 中的问题相同

camera-2018 avatar Mar 24 '26 05:03 camera-2018

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.

Leave Feedback Ask Dosu about AstrBot Share Dosu with your team

dosubot[bot] avatar Mar 24 '26 05:03 dosubot[bot]

fixed in #6892

Soulter avatar Mar 24 '26 08:03 Soulter