fix: 修改beta下statistic对返回值的处理
This commit is contained in:
parent
e5d7894455
commit
71d9ff810f
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user