diff --git a/front/src/views/capabilityCloud/components/ComponentServices.vue b/front/src/views/capabilityCloud/components/ComponentServices.vue index 7fe4d749..ee10d427 100644 --- a/front/src/views/capabilityCloud/components/ComponentServices.vue +++ b/front/src/views/capabilityCloud/components/ComponentServices.vue @@ -162,6 +162,19 @@ let myChart = echarts.init(chartDom) let option option = { + tooltip: { + backgroundColor: 'rgba(17,61,116,0.8)', + borderWidth: 0, + trigger: 'axis', + formatter: function (val) { + console.log(val) + let res = `
+ 日期 : ${val[0].name} +
调用次数 : ${val[0].value}
+
` + return res + }, + }, grid: { top: '10%', left: '0%',