lrf402788946 hace 5 años
padre
commit
ed03c509e3
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/views/dynamic/parts/map.vue

+ 2 - 2
src/views/dynamic/parts/map.vue

@@ -1,6 +1,6 @@
 <template>
   <div id="maps">
-    <div id="chartMap" class="" style="height:450px;"></div>
+    <div id="chartMap" class="" style="width:100%;height:550px;"></div>
   </div>
 </template>
 
@@ -31,7 +31,6 @@ export default {
   methods: {
     async init() {
       let newJson = this.setPos(_.cloneDeep(jlJson));
-      console.log(newJson);
       let city = jlJson.features.map(i => {
         let object = {};
         object.name = _.get(i.properties, 'name');
@@ -47,6 +46,7 @@ export default {
           trigger: 'item',
         },
         geo: {
+          // zoom: 1.3,
           type: 'map',
           map: '吉林',
           label: {