diff --git a/front/src/views/capabilityCloud/components/ComponentServices.vue b/front/src/views/capabilityCloud/components/ComponentServices.vue index 4003bd3b..f2dd031d 100644 --- a/front/src/views/capabilityCloud/components/ComponentServices.vue +++ b/front/src/views/capabilityCloud/components/ComponentServices.vue @@ -180,7 +180,11 @@ callTheTrendPort(start, end, 86400).then((res) => { if (res.data.data.result) { // res.data.data.result.splice(0, 1) + callTheTrendData.value.snum = [] res.data.data.result[0].values.map((item) => { + callTheTrendData.value.snum.push( + moment(item[0] * 1000).format('MM-DD') + ) callTheTrendData.value.snum.push(parseInt(item[1])) }) callTheTrend(callTheTrendData.value)