Skip to content

drawer component closeIcon customization is invalid #5615

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
fuwenjiang1997 opened this issue May 18, 2022 · 1 comment · Fixed by #5616
Closed
1 task done

drawer component closeIcon customization is invalid #5615

fuwenjiang1997 opened this issue May 18, 2022 · 1 comment · Fixed by #5616

Comments

@fuwenjiang1997
Copy link

fuwenjiang1997 commented May 18, 2022

  • 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?

空白

@github-actions github-actions bot changed the title drawer组件closeIcon自定义无效 drawer component closeIcon customization is invalid May 18, 2022
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants