Browse Source

消缺恢复

SunZehao 5 months ago
parent
commit
f0887bc428
1 changed files with 1 additions and 1 deletions
  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)