修复单双打 ,多选功能
This commit is contained in:
@@ -7,9 +7,9 @@ import styles from "./index.module.scss";
|
||||
import { BubbleOption } from "types/list/types";
|
||||
interface IProps {
|
||||
name: string;
|
||||
value: string;
|
||||
value: string | string[];
|
||||
options: BubbleOption[];
|
||||
onChange: (name: string, value: string) => void;
|
||||
onChange: (name: string, value: string | string[] | number | (string | number)[]) => void;
|
||||
}
|
||||
const GamePlayType = (props: IProps) => {
|
||||
const { name, onChange, value, options } = props;
|
||||
@@ -24,6 +24,7 @@ const GamePlayType = (props: IProps) => {
|
||||
size="small"
|
||||
columns={3}
|
||||
name={name}
|
||||
multiple={true}
|
||||
/>
|
||||
{/* <PopupGameplay
|
||||
onClose={() => {
|
||||
|
||||
Reference in New Issue
Block a user