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 { )} - -
- - {this.state.Knowpoints === undefined ? "" : this.state.Knowpoints.map((object, index) => { - return ( -
0? +
-

{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")}/> + +
+ ) + })}
- ) - })} - - - + : + "" + } -
-
- - {this.state.Knowpoints === undefined ? "" : this.state.Knowpoints.map((object, index) => { - return ( -
0? +
-

{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")}/> + +
+ ) + })}
- ) - })} - - - - -
+ : + "" + }