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) diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue index 89ab10e9..d07af6cc 100644 --- a/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue +++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-06-08 11:56:28 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-06-13 15:29:27 + * @LastEditTime: 2022-07-01 14:16:18 * @Description: 算法详情页头部 -->