|
|
|
@ -132,7 +132,7 @@ class Listjihe extends Component {
|
|
|
|
|
}catch (e) {
|
|
|
|
|
}
|
|
|
|
|
if(itemssname===undefined){
|
|
|
|
|
itemssname=items.name
|
|
|
|
|
itemssname=items.name+""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -141,7 +141,8 @@ class Listjihe extends Component {
|
|
|
|
|
itemsnamesy= JSON.parse(items&&items.program_attr&&items.program_attr.description);
|
|
|
|
|
|
|
|
|
|
}catch (e) {
|
|
|
|
|
itemsnamesy=items&&items.program_attr&&items.program_attr.description;
|
|
|
|
|
itemsnamesy=items&&items.program_attr&&items.program_attr.description+"";
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var analysisnames="";
|
|
|
|
@ -149,7 +150,7 @@ class Listjihe extends Component {
|
|
|
|
|
analysisnames= JSON.parse(items&&items.analysis);
|
|
|
|
|
|
|
|
|
|
}catch (e) {
|
|
|
|
|
analysisnames=items&&items.analysis;
|
|
|
|
|
analysisnames=items&&items.analysis+"";
|
|
|
|
|
}
|
|
|
|
|
// console.log(items.name);
|
|
|
|
|
// console.log(itemsnamesy);
|
|
|
|
@ -158,6 +159,21 @@ class Listjihe extends Component {
|
|
|
|
|
const options = [
|
|
|
|
|
'bold', // 加粗
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
if(itemsnamesy.constructor === Object){
|
|
|
|
|
// console.log("是对象");
|
|
|
|
|
// console.log(itemsnamesy);
|
|
|
|
|
}else {
|
|
|
|
|
// console.log("不是对象");
|
|
|
|
|
// console.log(itemsnamesy);
|
|
|
|
|
itemsnamesy=itemsnamesy+"";
|
|
|
|
|
}
|
|
|
|
|
}catch (e) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<div key={keindex}
|
|
|
|
|
className={chakanjiexiboolindex === keindex ? "w100s borderwds283 pd20 mb20 listjihecolors" : "w100s borderwds pd20 mb20 listjihecolors"}>
|
|
|
|
|