|
@@ -349,7 +349,10 @@ export default {
|
|
|
map.count = list[i].num;
|
|
|
map.name = list[i].name;
|
|
|
map.key = list[i].type;
|
|
|
- map.icon = 'sj-icon-' + list[i].type;
|
|
|
+ let type = list[i].type;
|
|
|
+ let types = list[i].type.split("_");
|
|
|
+ map.icon = 'sj-icon-' + types[types.length - 1];
|
|
|
+ // map.icon = 'sj-icon-' + list[i].type;
|
|
|
if(list[i].name == '农业技术推广总站信息'){
|
|
|
map.name="农业技术推广总站";
|
|
|
}
|
|
@@ -367,6 +370,7 @@ export default {
|
|
|
}
|
|
|
_this.resourcesList.push(map);
|
|
|
}
|
|
|
+ console.log("_this.resourcesList=",_this.resourcesList)
|
|
|
})
|
|
|
},
|
|
|
// getResource(){
|