fix: 修改beta下statistic对返回值的处理

This commit is contained in:
Xu Zhimeng 2023-11-17 11:51:08 +08:00
parent e5d7894455
commit 71d9ff810f

View File

@ -336,10 +336,11 @@ export default {
}) })
if (success) { if (success) {
if (result) { if (result) {
this.option.xAxis.data = result[0].m_Keys const { allDate, allList } = result
this.option.xAxis.data = allDate
this.option.legend.show = true this.option.legend.show = true
this.option.series = result.map((item) => { this.option.series = allList.map((item) => {
return { return {
type: 'line', type: 'line',
name: item.m_strGraphName, name: item.m_strGraphName,