diff --git a/packages/vantui/src/picker-column/index.tsx b/packages/vantui/src/picker-column/index.tsx index dee36b3c0..b722c27ed 100644 --- a/packages/vantui/src/picker-column/index.tsx +++ b/packages/vantui/src/picker-column/index.tsx @@ -6,7 +6,7 @@ import { forwardRef, memo, } from 'react' -import { View } from '@tarojs/components' +import { View, CustomWrapper } from '@tarojs/components' import * as utils from '../wxs/utils' import { PickerColumnProps } from '../../types/picker-column' import { range } from '../common/utils' @@ -210,41 +210,43 @@ function Index( ])} {...others} > - - {options.map((option: any, index: number) => { - return ( - - {computed.optionText(option, valueKey)} - - ) - })} - + + + {options.map((option: any, index: number) => { + return ( + + {computed.optionText(option, valueKey)} + + ) + })} + + ) }