From 0a1d2b0626e22973d2688104bbccb2f2010f10d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Mon, 30 Dec 2019 16:58:32 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/courses/shixunHomework/shixunHomework.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/react/src/modules/courses/shixunHomework/shixunHomework.js b/public/react/src/modules/courses/shixunHomework/shixunHomework.js index 36d5129f5..c3eb8095a 100644 --- a/public/react/src/modules/courses/shixunHomework/shixunHomework.js +++ b/public/react/src/modules/courses/shixunHomework/shixunHomework.js @@ -1,5 +1,5 @@ import React,{ Component } from "react"; -import { Input,Checkbox, Pagination,Menu, AutoComplete,Spin } from "antd"; +import { Input,Checkbox, Pagination,Menu, AutoComplete,Spin,Icon } from "antd"; import { WordsBtn,on, trigger } from 'educoder'; import {Link} from 'react-router-dom'; import axios from'axios'; @@ -1029,7 +1029,7 @@ class ShixunHomework extends Component{ let main_id=this.props.match.params.main_id; let category_id=this.props.match.params.category_id; - + const dataSource = ['12345', '23456', '34567']; return(
@@ -1225,7 +1225,7 @@ class ShixunHomework extends Component{ dropdownStyle={{ width: 300 }} size="large" style={{ width: '100%' }} - dataSource={options} + dataSource={dataSource} placeholder="input here" optionLabelProp="value" >