From 6a5962fe9544005dba620b00fb36c25fe2da4e76 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期二, 16 十一月 2021 15:24:46 +0800
Subject: [PATCH] 后端没修改的情况下添加默认背景图

---
 src/components/subComponents/eChartsBar.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/components/subComponents/eChartsBar.vue b/src/components/subComponents/eChartsBar.vue
index 4cd7a99..4e69088 100644
--- a/src/components/subComponents/eChartsBar.vue
+++ b/src/components/subComponents/eChartsBar.vue
@@ -73,7 +73,7 @@
         },
         grid: {
           top: 10,
-          right: 30,
+          right: 50,
           bottom: 20,
           left: 40,
         },
@@ -161,12 +161,14 @@
           }
         ]
       }
+      
       this.eChartsObj = echarts.init(this.$refs.cpuMenery);
       this.eChartsObj.setOption(options);
+ 
     },
     windowSizeChange() {
       this.eChartsObj.resize();
-    },
+    }
   }
 };
 </script>

--
Gitblit v1.8.0