题库信息

dev_jupyter
杨树林 5 years ago
parent 4fee0697ad
commit 6263d1e48c

@ -169,6 +169,8 @@ class Question extends Component {
let {defaultActiveKey} = this.state;
var defaultActiveKeys=defaultActiveKey;
if(isysladmins===true||(is_teacher===true&&professional_certification===true)){
defaultActiveKeys="0"
}else{
defaultActiveKeys="1"
}

@ -57,8 +57,11 @@ class Testpaperlibrary extends Component {
let {defaultActiveKey} = this.state;
var defaultActiveKeys=defaultActiveKey;
if(isysladmins===true||(is_teacher===true&&professional_certification===true)){
defaultActiveKeys="0"
}else{
defaultActiveKeys="1"
}
this.setState({
defaultActiveKey:defaultActiveKeys
})

Loading…
Cancel
Save