SunZehao hai 5 meses
pai
achega
f0887bc428
Modificáronse 1 ficheiros con 1 adicións e 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)