From 57094ef66e4afb413c39ecd181e65938315c195c Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期三, 03 十一月 2021 17:41:26 +0800
Subject: [PATCH] hyj change shhuang

---
 src/pages/shuohuangMonitorAnalyze/components/charts/bar.vue |   29 +++++++++++++----------------
 1 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/src/pages/shuohuangMonitorAnalyze/components/charts/bar.vue b/src/pages/shuohuangMonitorAnalyze/components/charts/bar.vue
index f8062cb..b06116a 100644
--- a/src/pages/shuohuangMonitorAnalyze/components/charts/bar.vue
+++ b/src/pages/shuohuangMonitorAnalyze/components/charts/bar.vue
@@ -1,32 +1,29 @@
 <template>
-  <div ref="barChart" style="width: 100%; height: 100%;"></div>
+  <div ref="barChart" style="width: 100%; height: 100%" class="Bar"></div>
 </template>
 
 <script>
 export default {
-  data () {
-    return {
-
-    }
+  data() {
+    return {};
   },
   props: {
-    options:{
+    options: {
       type: Object,
-    }
+    },
   },
-  mounted(){
+  mounted() {
     this.initBar();
   },
   methods: {
-    initBar(){
-      this.$nextTick(()=>{
-        let dom = this.$echarts.init(this.$refs['barChart']);
+    initBar() {
+      this.$nextTick(() => {
+        let dom = this.$echarts.init(this.$refs["barChart"]);
         dom.setOption(this.options);
-      })
-      
-    }
-  }
-}
+      });
+    },
+  },
+};
 </script>
 
 <style >

--
Gitblit v1.8.0