wangzhe před 2 roky
rodič
revize
6a49ca23aa
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/views/datacenter.vue

+ 1 - 1
src/views/datacenter.vue

@@ -351,7 +351,7 @@ export default {
           map.key = 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-' + types[types.length - 1].replace("@", "_");
           // map.icon = 'sj-icon-' + list[i].type;
           if(list[i].name == '农业技术推广总站信息'){
             map.name="农业技术推广总站";