Skip to content

Segmented 分段控制器 #7923

@TstName

Description

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

Version

4.2.5

Environment

windows10、谷歌130、3.5.12

Reproduction link

https://antdv.com/components/segmented-cn

Steps to reproduce

<a-segmented v-model:value="value" block :options="data">
<template #label="{ payload }">
<div style="padding: 4px 4px">
<div>{{ payload.title }}</div>
<div>{{ payload.subTitle }}</div>
</div>
</template>
</a-segmented>

What is expected?

插槽正常显示

What is actually happening?

插槽未显示

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

    Issue actions