Skip to content

[Bug] 缺少参数 package 或不合法提示样式问题 #8468

@xxynet

Description

@xxynet

What happened / 发生了什么

安装PIP库失败的提示样式有问题,项目其他页面都使用全局的 useToast().error() 来显示错误(红色 snackbar 出现在页面顶部),但 pip 安装功能没有遵循这个模式,而是直接用 标签内联显示,且不区分成功和错误消息的颜色。

Image

Reproduce / 如何复现?

平台日志 -> 安装 pip 库 -> 不填写,直接点击安装

AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

vv4.25.0

OS

Linux

Logs / 报错日志

缺少参数 package 或不合法。

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

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:webuiThe bug / feature is about webui(dashboard) of astrbot.bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions