修复单双打 ,多选功能

This commit is contained in:
张成
2025-12-06 22:02:27 +08:00
parent 2c83d9faa5
commit 10ff967f4a
5 changed files with 37 additions and 19 deletions

View File

@@ -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={() => {