dev_aliyun_beta
caicai8 5 years ago
parent 145af86264
commit 6203e0827c

@ -124,7 +124,7 @@ class commonWork extends Component{
if(search!=""){
url+="&search="+search;
}
axios.get((url)).then((result)=>{
axios.get(encodeURI(url)).then((result)=>{
if(result.status==200){
this.setState({
mainList:result.data,

@ -324,7 +324,7 @@ class studentsList extends Component{
if(!!searchValue){
url+='&search='+searchValue;
}
axios.get((url)).then((result)=>{
axios.get(encodeURI(url)).then((result)=>{
if (result.data.students) {
this.setState({
students: result.data.students,

@ -112,7 +112,7 @@ class ShixunHomework extends Component{
let coursesId=this.props.match.params.coursesId;
let url="/courses/"+coursesId+"/homework_commons.json?type=4";
axios.get(url,{
axios.get(encodeURI(url),{
params: {
search:undefined,
page:1,

Loading…
Cancel
Save