diff --git a/admin/src/pages/examinationrules/components/QuestionSelector.tsx b/admin/src/pages/examinationrules/components/QuestionSelector.tsx index dfa97ad..10ad749 100644 --- a/admin/src/pages/examinationrules/components/QuestionSelector.tsx +++ b/admin/src/pages/examinationrules/components/QuestionSelector.tsx @@ -5,7 +5,7 @@ import { Button, message } from 'antd'; //import { useRequest } from 'umi'; //import { queryFakeList } from './service'; //import type { CardListItemDataType } from './data'; -import styles from '../style.less'; +//import styles from '../style.less'; //import SubMenu from 'antd/lib/menu/SubMenu'; //import ProCard from '@ant-design/pro-card'; //import ProList from '@ant-design/pro-list'; @@ -112,7 +112,7 @@ const QuestionSelector = (props: any, ref: any) => { const [selectedRowsState, setSelectedRows] = useState([]); const [addType, setAddType] = useState({name: '', value: 0}); - const labels = ['A','B','C','D','E'] + const labels = ['A','B','C','D','E','F','G','H','I'] /** 获取题型 */ const { data } = useRequest(() => { @@ -137,18 +137,24 @@ const QuestionSelector = (props: any, ref: any) => { }, })); + return ( <> - { { @@ -658,7 +659,7 @@ export default () => { {