Commit dcf43fe8 by wdc147

Merge remote-tracking branch 'origin/20210819' into wdc

parents 29ee0e2d f2ead030
......@@ -231,7 +231,6 @@ export default {
// 活动开展
active: [],
activeConfig: {},
activeSum: '',
activeList: []
}
},
......@@ -400,12 +399,11 @@ export default {
value: item.value
}
})
this.activeSum = this.rightData.active.total
},
getActive () {
let yData = this.activeList.map(v => v.key).reverse() // y轴左侧的数据
let y2Data = this.activeList.map(v => v.value).reverse() // y轴右侧的数据
let max = this.activeSum
let max = this.rightData.active.total
let maxData = new Array(this.activeList.length).fill(max)// x轴的最大值
let pointData = this.activeList.reverse().map((v, i) => {
return {
......
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