diff --git a/src/views/dashboard/overview/components/UPFFlow/index.vue b/src/views/dashboard/overview/components/UPFFlow/index.vue
index c70e93ef..53931ee6 100644
--- a/src/views/dashboard/overview/components/UPFFlow/index.vue
+++ b/src/views/dashboard/overview/components/UPFFlow/index.vue
@@ -76,14 +76,12 @@ function fnDesign(container: HTMLElement | undefined, option: EChartsOption) {
upfFlowChart.value.resize();
};
option && upfFlowChart.value.setOption(option);
-
}
//渲染速率图
function initPicture() {
let queryArr: any = [];
const initTime: Date = new Date();
- console.log(initTime)
const startTime: Date = new Date(initTime);
startTime.setHours(0, 0, 0, 0); // 设置为今天的0点
const endTime: Date = new Date(initTime);
@@ -165,7 +163,6 @@ function initPicture() {
trigger: 'axis',
//formatter:'{a0}:{c0}
{a1}:{c1}'
formatter: function (param: any) {
- console.log(param);
var tip = '';
if (param !== null && param.length > 0) {
tip += param[0].name + '
';
@@ -187,8 +184,9 @@ function initPicture() {
fontSize: 12,
color: 'rgb(0,253,255,0.6)',
},
- right: '35%',
- },
+ left: 'center',
+ }, // 设置图例居中
+
grid: {
top: '14%',
left: '4%',