dev_static
杨树明 5 years ago
parent 5e12bc7225
commit 0a1d2b0626

@ -1,5 +1,5 @@
import React,{ Component } from "react"; 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 { WordsBtn,on, trigger } from 'educoder';
import {Link} from 'react-router-dom'; import {Link} from 'react-router-dom';
import axios from'axios'; import axios from'axios';
@ -1029,7 +1029,7 @@ class ShixunHomework extends Component{
let main_id=this.props.match.params.main_id; let main_id=this.props.match.params.main_id;
let category_id=this.props.match.params.category_id; let category_id=this.props.match.params.category_id;
const dataSource = ['12345', '23456', '34567'];
return( return(
<React.Fragment > <React.Fragment >
<div> <div>
@ -1225,7 +1225,7 @@ class ShixunHomework extends Component{
dropdownStyle={{ width: 300 }} dropdownStyle={{ width: 300 }}
size="large" size="large"
style={{ width: '100%' }} style={{ width: '100%' }}
dataSource={options} dataSource={dataSource}
placeholder="input here" placeholder="input here"
optionLabelProp="value" optionLabelProp="value"
> >

Loading…
Cancel
Save