Skip to content

Commit

Permalink
chore: pickview dom use classPrefix
Browse files Browse the repository at this point in the history
  • Loading branch information
1587315093 committed Aug 10, 2023
1 parent 46ffd90 commit e5eca49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/picker-view/wheel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ export const Wheel = memo<Props>(
const previous = column[previousIndex]
const next = column[nextIndex]
return (
<div className='adm-picker-view-column-accessible'>
<div className={`${classPrefix}-column-accessible`}>
<div
className='adm-picker-view-column-accessible-current'
className={`${classPrefix}-column-accessible-current`}
role='button'
aria-label={
current ? `当前选择的是:${current.label}` : '当前未选择'
Expand All @@ -228,7 +228,7 @@ export const Wheel = memo<Props>(
-
</div>
<div
className='adm-picker-view-column-accessible-button'
className={`${classPrefix}-column-accessible-button`}
onClick={() => {
if (!previous) return
scrollSelect(previousIndex)
Expand All @@ -241,7 +241,7 @@ export const Wheel = memo<Props>(
-
</div>
<div
className='adm-picker-view-column-accessible-button'
className={`${classPrefix}-column-accessible-button`}
onClick={() => {
if (!next) return
scrollSelect(nextIndex)
Expand Down

0 comments on commit e5eca49

Please sign in to comment.