Skip to content

v2.2.0版本,按钮type为danger时,看不到文字 #1286

Closed
@yogwang

Description

@yogwang
版本号:

v2.2.0

问题描述:

当按钮 typedanger 时,文字也是白色的,就会如下图一样的情况。

截图&代码:

image
然后审查模式下边看到是有一个样式覆盖了组件库的样式
image

require('@jeecg/antd-online-beta220/dist/OnlineForm.css') 注释掉就没问题了。

Activity

zhangdaiscott

zhangdaiscott commented on Jun 2, 2020

@zhangdaiscott
Member

"ant-design-vue": "1.5.4", 固定这个版本试试

yogwang

yogwang commented on Jun 3, 2020

@yogwang
Author

@zhangdaiscott"1.5.4"也是不行。
image
image

之前 2.1.0 版本也是这个问题

zhangdaiscott

zhangdaiscott commented on Jun 3, 2020

@zhangdaiscott
Member

固定后,重新install了?

yogwang

yogwang commented on Jun 3, 2020

@yogwang
Author

@zhangdaiscott 重新Install了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @zhangdaiscott@yogwang

        Issue actions

          v2.2.0版本,按钮type为danger时,看不到文字 · Issue #1286 · jeecgboot/JeecgBoot