Browse Source

Merge branch 'master' of http://120.26.64.82:10880/BFFE/SZYGM1.0

zhongxiaoyu 2 years ago
parent
commit
b5e6aa8935

+ 1 - 10
src/components/Echarts/commonChartsBar.vue

@@ -7,7 +7,7 @@
  * @FilePath: \vue-admin-template-master\src\layout\components\Echarts\commonChartsBar.vue
 -->
 <template>
-  <div class="ChartsBar" :id="id"></div>
+  <div style="height: 100%;width: 100%;position: absolute;left: 0;top: 0;" class="ChartsBar" :id="id"></div>
 </template>
 
 <script>
@@ -81,12 +81,3 @@ export default {
 }
 </script>
 
-<style lang="scss" scoped>
-.ChartsBar {
-  height: 100%;
-  width: 100%;
-  position: absolute;
-  left: 0;
-  top: 0;
-}
-</style>

+ 1 - 10
src/components/Echarts/commonChartsChinaMap.vue

@@ -7,7 +7,7 @@
  * @FilePath: \bigDataScreen\src\components\Echarts\commonChartsChinaMap.vue
 -->
 <template>
-  <div class="ChartsChinaMap" :id="id"></div>
+  <div style="height: 100%;width: 100%;position: absolute;left: 0;top: 0;" class="ChartsChinaMap" :id="id"></div>
 </template>
 
 <script>
@@ -66,12 +66,3 @@ export default {
 }
 </script>
 
-<style lang="scss" scoped>
-.ChartsChinaMap {
-  height: 100%;
-  width: 100%;
-  position: absolute;
-  left: 0;
-  top: 0;
-}
-</style>