能力云图bug

This commit is contained in:
851673013@qq.com 2022-07-01 14:40:38 +08:00
parent 9e609538f1
commit 75a56eec3a
1 changed files with 4 additions and 0 deletions

View File

@ -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)