SunZehao hace 7 meses
padre
commit
f0887bc428
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/powerPrediction/homePageNoMap.vue

+ 1 - 1
src/views/powerPrediction/homePageNoMap.vue

@@ -928,7 +928,7 @@
                 }
             },
             showColor(str) {
-                return str.indexOf("预警") !== -1
+                return str.indexOf("预警") !== -1 ? true : false
             },
             showTitle(item) {
                 return item.substring(0, item.indexOf('发布') + 2)