xicheng79 3 years ago
parent
commit
3df577d7a6
1 changed files with 6 additions and 3 deletions
  1. 6 3
      src/components/map.vue

+ 6 - 3
src/components/map.vue

@@ -172,7 +172,7 @@ export default {
           image: new Icon({
             crossOrigin: 'anonymous',
             src: more,
-            scale: 0.25
+            scale: 0.2
           })
         }),
         LineString: new Style({
@@ -1032,18 +1032,20 @@ export default {
       })
     }
   },
+
   mounted () {
     this.initMap()
     this.initPopupOverLay()
     this.busOnAction()
-    this.loadRecentReports(7)
-    this.loadRecentNotices(7)
+    this.loadRecentReports(365)
+    this.loadRecentNotices(365)
     this.loadOthers()
     this.loadCulture()
     this.openCluster()
     this.mapClick()
     this.sloganListener()
   },
+
   watch: {
     drawType: function () {
       DrawShape.closeDrawShape()
@@ -1056,6 +1058,7 @@ export default {
       }
     }
   },
+
   filters: {
     // 超过100位显示省略号
     ellipsis: function (value) {