Browse Source

no message

linwenxin 1 year ago
parent
commit
017cb8e90b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/bigViews/dataView1/components/mapdata.vue

+ 1 - 1
src/views/bigViews/dataView1/components/mapdata.vue

@@ -141,7 +141,7 @@ export default {
           cityColors[name] = "#009eff";
         });
         this.getLarge10.map(item => {
-          cityColors[item.area] = item.num<=2 ? "#6ada40" : item.num<=4 ? "#ebe24a" : "#d73921"
+          cityColors[item.area] = item.num<=2 ? "#6ada40" : item.num<=4 ? "#ebe24a" : item.num > 4 ? "#d73921" : "none"
         });
 
         console.log(this.getLarge9, this.getLarge10, cityColors)