Skip to content

drawer component closeIcon customization is invalid #5615

@fuwenjiang1997

Description

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

Version

3.2.3

Environment

vue3.2、mac、chrome v99

Reproduction link

https://github.com/bfclouds/cycler/blob/master/feature/src/views/pluginMarket/components/plugin-wrapper.vue

Steps to reproduce

使用closeIcon插槽无效,查看源码,发现如下代码:

{$closeIcon === undefined ? <CloseOutlined></CloseOutlined> : null} 

实际上应该是

{$closeIcon === undefined ? <CloseOutlined></CloseOutlined> : $closeIcon} 

What is expected?

正常显示自定义的closeIcon

What is actually happening?

空白

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