dev_aliyun_beta
杨树明 6 years ago
parent 4c4fbd6051
commit a5b86940b6

@ -158,9 +158,10 @@ class InfosTopics extends Component{
deletecheckBoxValues=()=>{ deletecheckBoxValues=()=>{
let {checkBoxValues}=this.state; let {checkBoxValues}=this.state;
if(checkBoxValues.length===0){ if(checkBoxValues.length===0){
this.props.showNotification("请选择题库") this.props.showNotification("请选择题库")
} }else{
this.setState({ this.setState({
Modalstype:true, Modalstype:true,
Modalstopval:"是否确认删除?", Modalstopval:"是否确认删除?",
@ -168,6 +169,7 @@ class InfosTopics extends Component{
ModalSave:this.topicssavedelete, ModalSave:this.topicssavedelete,
}) })
} }
}
topicssavedelete=()=>{ topicssavedelete=()=>{
let {checkBoxValues,category}=this.state; let {checkBoxValues,category}=this.state;

Loading…
Cancel
Save