Skip to content

兄弟组件(A,B )同时引用SVG图片,引用方式A在前B在后,如果A组件SVG图片display:none会导致B组件中的SVG图片也不展示 #761

@JuanJuanZhang123

Description

@JuanJuanZhang123
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.3.8

Environment

Chrome 73.0.3683.86

Reproduction link

Edit on CodeSandbox

Steps to reproduce

同时引入A B组件作为兄弟组件,并且A,B组件都是用自定义SVG图片作为Icon

What is expected?

A组件SVG图片的展示不影响B组件,两个组件中SVG图片的展示相互独立

What is actually happening?

A组件SVG图片隐藏将导致B组件SVG图片不展示

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions