Skip to content

Commit

Permalink
feat(picker): add picker-column selected class support
Browse files Browse the repository at this point in the history
  • Loading branch information
penjj committed Oct 24, 2024
1 parent 48a4887 commit 6875843
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/packages/__VUE/picker/index.taro.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
:key="item[columnFieldNames.value] ?? index"
class="nut-picker-roller-item-tarotile"
:class="{
[item[columnFieldNames.className]]: item[columnFieldNames.className]
[item[columnFieldNames.className]]: item[columnFieldNames.className],
'nut-picker-roller-item-tarotile--selected': index === defaultIndexes[columnIndex]
}"
:style="{
lineHeight: pxCheck(optionHeight)
Expand Down

0 comments on commit 6875843

Please sign in to comment.