Skip to content

collapse-panel 的 header 属性当使用插槽的时候触发了错误 #3123

@ibwei

Description

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

Version

undefined

Environment

macOS10,chrome,3.0

Reproduction link

https://github.com/ibwei/vue3-ts-base/blob/master/src/views/test/Test.vue

Steps to reproduce

<a-collapse-panel
v-for="(g, key, index) of cloudRoleList"
:key="`${index}`"
:style="customStyle"
>
<template v-slot:header>
<div class="kk">llll</div>
</template>
</a-collapse-panel>

是我写法的问题吗?

What is expected?

kk 出现表折叠面板的表头

What is actually happening?

触发了错误

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions