Skip to content

ElementPlusResolver 解析 el-radio-group 时,应该同时解析 el-radio-button #896

@frontlich

Description

@frontlich

Describe the bug

elemet-plus 的 el-radio-group 组件自从 v2.11.2 开始支持使用options选项

  <el-radio-group
    v-model="tabValue"
    type="button"
    :options="[
      { label: '1', value: '1' },
      { label: '2', value: '2' },
    ]"
  />

如果只使用了el-radio-group,未使用el-radio-button时,会导致缺失el-radio-button的样式

Reproduction

1

System Info

unplugin-vue-components: ^30.0.0,
element-plus: 2.11.7

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions