diff --git a/public/react/src/modules/question/Paperreview_item.js b/public/react/src/modules/question/Paperreview_item.js index c8a8c7a7a..dc62930f3 100644 --- a/public/react/src/modules/question/Paperreview_item.js +++ b/public/react/src/modules/question/Paperreview_item.js @@ -272,11 +272,7 @@ class Paperreview_item extends Component { }else { //确定 const url = `/item_baskets/${this.state.item_bank_id}.json`; - axios.delete((url), { - data: { - item_type: this.state.titilesms - } - }) + axios.delete((url)) .then((response) => { if (response.data.status == 0) { this.props.showNotification('试题删除成功'); diff --git a/public/react/src/modules/question/Paperreview_items.js b/public/react/src/modules/question/Paperreview_items.js index b28a91d9f..81ec320b5 100644 --- a/public/react/src/modules/question/Paperreview_items.js +++ b/public/react/src/modules/question/Paperreview_items.js @@ -57,12 +57,16 @@ class Paperreview_items extends Component { render() { let {paperreviewsingleindex,paperreviewsinglename,typenames,indexs,object,typenamesn}=this.props; + + // console.log(object); + console.log("Paperreview_items"); + console.log(object.item_id); return (
{ paperreviewsingleindex===indexs&&paperreviewsinglename===typenames?
-
this.props.showsetmodalsTypedels(object.id,true,1)}>删除
+
this.props.showsetmodalsTypedels(object.item_id,true,1)}>删除
this.props.Singlemagazines(true,object.id,typenamesn)}>设置得分
: