SunZehao 5 mesi fa
parent
commit
f0887bc428
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)