fix: 🐛 修复 wd-select-picker 组件单选搜索高亮 class 错误

This commit is contained in:
愿与君长安 2024-11-14 18:01:47 +08:00 committed by GitHub
parent 2e124b2d6d
commit 7d461a54d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,7 +85,7 @@
<wd-radio :value="item[valueKey]" :disabled="item.disabled"> <wd-radio :value="item[valueKey]" :disabled="item.disabled">
<block v-if="filterable && filterVal"> <block v-if="filterable && filterVal">
<block v-for="text in item[labelKey]" :key="text.label"> <block v-for="text in item[labelKey]" :key="text.label">
<text :clsss="`${text.type === 'active' ? 'wd-select-picker__text-active' : ''}`">{{ text.label }}</text> <text :class="`${text.type === 'active' ? 'wd-select-picker__text-active' : ''}`">{{ text.label }}</text>
</block> </block>
</block> </block>
<block v-else> <block v-else>