修复单双打 ,多选功能
This commit is contained in:
@@ -8,10 +8,10 @@ import styles from './index.module.scss'
|
||||
interface IProps {
|
||||
name: string;
|
||||
options: BubbleOption[];
|
||||
value: string;
|
||||
onChange: (name: string, value: string) => void;
|
||||
value: string | string[];
|
||||
onChange: (name: string, value: string | string[] | number | (string | number)[]) => void;
|
||||
}
|
||||
const GamePlayType = (props: IProps) => {
|
||||
const CourtType = (props: IProps) => {
|
||||
const { name, onChange , options, value} = props;
|
||||
return (
|
||||
<View className={styles.courtTypeWrapper}>
|
||||
@@ -24,8 +24,9 @@ const GamePlayType = (props: IProps) => {
|
||||
size="small"
|
||||
columns={3}
|
||||
name={name}
|
||||
multiple={true}
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
export default GamePlayType;
|
||||
export default CourtType;
|
||||
|
||||
Reference in New Issue
Block a user