From 8c7be3c4d829e884d670775e11e9f85f486f11d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Thu, 9 Jan 2020 13:44:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=98=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../question/component/Itembankstop.js | 46 +++++++++---------- .../comthetestpaper/Comthetestpaperst.js | 42 ++++++++--------- 2 files changed, 44 insertions(+), 44 deletions(-) diff --git a/public/react/src/modules/question/component/Itembankstop.js b/public/react/src/modules/question/component/Itembankstop.js index 046565356..070628d76 100644 --- a/public/react/src/modules/question/component/Itembankstop.js +++ b/public/react/src/modules/question/component/Itembankstop.js @@ -403,8 +403,8 @@ class Itembankstop extends Component { const _result =[]; this.state.knowledgepoints.filter(item => { if (this.state.Knowpoints.findIndex(t => t.id === item.id) === -1) { - console.log("guonue"); - console.log(item); + // console.log("guonue"); + // console.log(item); _result.push(item); } }); @@ -718,30 +718,30 @@ class Itembankstop extends Component { )} - -
{object.name}
- - this.deletesobject(object, index)} src={getImageUrl("images/educoder/bzucha.png")}/> - + {this.state.Knowpoints === undefined ? "" : this.state.Knowpoints.map((object, index) => { + return ( +{object.name}
+ + this.deletesobject(object, index)} src={getImageUrl("images/educoder/bzucha.png")}/> + +{object.name}
- - this.deletesobject(object, index)} src={getImageUrl("/images/educoder/bzucha.png")}/> - + {this.state.Knowpoints === undefined ? "" : this.state.Knowpoints.map((object, index) => { + return ( +{object.name}
+ + this.deletesobject(object, index)} src={getImageUrl("images/educoder/bzucha.png")}/> + +