|
|
|
@ -164,7 +164,7 @@ class Questionitem_banks extends Component {
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if(this.state.item_type===null ||this.state.item_type==="PROGRAM"){
|
|
|
|
|
if(this.state.item_type===null){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return
|
|
|
|
@ -375,6 +375,12 @@ class Questionitem_banks extends Component {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
if(this.state.item_type==="PROGRAM"){
|
|
|
|
|
//编程题 跳转到 oj 中创建
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -477,10 +483,7 @@ class Questionitem_banks extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:item_type&&item_type==="PROGRAM"?
|
|
|
|
|
<div className="programcss">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
""
|
|
|
|
|
:""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -499,7 +502,7 @@ class Questionitem_banks extends Component {
|
|
|
|
|
item_type===null?
|
|
|
|
|
""
|
|
|
|
|
:
|
|
|
|
|
<Bottomsubmit bottomvalue={"保存"} onSubmits={() => this.preservation()} url={'/question'}></Bottomsubmit>
|
|
|
|
|
<Bottomsubmit bottomvalue={item_type==="PROGRAM"?"创建":"保存"} onSubmits={() => this.preservation()} url={'/question'}></Bottomsubmit>
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|