修复bug
This commit is contained in:
@@ -25,6 +25,7 @@ interface PickerProps {
|
||||
img?: string;
|
||||
onConfirm?: (options: PickerOption[], values: (string | number)[]) => void;
|
||||
onChange?: (value: (string | number)[]) => void;
|
||||
style?: React.CSSProperties
|
||||
}
|
||||
|
||||
const PopupPicker = ({
|
||||
@@ -36,6 +37,7 @@ const PopupPicker = ({
|
||||
onChange,
|
||||
options = [],
|
||||
type = null,
|
||||
style,
|
||||
}: PickerProps) => {
|
||||
const [defaultValue, setDefaultValue] = useState<(string | number)[]>([]);
|
||||
const [defaultOptions, setDefaultOptions] = useState<PickerOption[][]>([]);
|
||||
@@ -106,6 +108,7 @@ const PopupPicker = ({
|
||||
position="bottom"
|
||||
round
|
||||
zIndex={1000}
|
||||
style={style}
|
||||
>
|
||||
{type === "ntrp" && (
|
||||
<View className={styles.evaluateCardWrap}>
|
||||
|
||||
Reference in New Issue
Block a user