dev_forum
杨树明 5 years ago
parent 43ebdbca0c
commit 85bbe35785

@ -314,7 +314,7 @@ class Addcourses extends Component{
<label className="panel-form-label fl">课堂邀请码</label>
<Input type="text" className="input-60-40 fl mt5" name="invite_code"
placeholder="请输入5位课堂邀请码或6位分班邀请码"
style={{ height: '30px'}}
style={{width:'275px',height:'30px'}}
value={invite_code} onInput={this.inputjoinclassvalue}/>
</li>

@ -140,17 +140,20 @@ class DetailCardsEditAndAdd extends Component{
//打开选择实训弹框初始化tag标签和列表
changeTag=(id,search)=>{
this.setState({
hometypepvisible:true
hometypepvisible:true,
ChooseShixunListshixun_list:[],
page:1
})
let pathId=this.props.pathid;
let {page}=this.state;
let url='/paths/'+pathId+'/choose_subject_shixun.json?page='+page
let url='/paths/'+pathId+'/choose_subject_shixun.json?page='+1
if(search!="" && search!=undefined){
url+="&search="+search;
}
if(id!=0){
url+="&type="+id;
}
axios.get(url).then((result)=>{
if(result.status===200){
this.setState({

Loading…
Cancel
Save