Commit 8ca1123f by wusiyi

feat: 概览数据优化

parent 7a5859ba
......@@ -1003,7 +1003,13 @@ const getStatisticDataApi = async () => {
if (!isEmpty) {
updateOrderTrendChart(res.data, 0)
}
updateChart(chartInstances[0], chartConfig1, isEmpty, chartTimes1.value)
updateChart(
chartInstances[0],
chartConfig1,
isEmpty,
false,
chartTimes1.value,
)
orderChart1Loading.value = !(res.data && res.data.length > 0)
}
})
......@@ -1026,8 +1032,8 @@ const getStatisticDataApi = async () => {
chartInstances[1],
chartConfig2,
isEmpty,
chartTimes2.value,
true,
chartTimes2.value,
)
orderChart2Loading.value = !(res.data && res.data.length > 0)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment