task#,月总图表X轴数据去重
This commit is contained in:
@ -1054,8 +1054,9 @@ export default {
|
||||
this.loading = false
|
||||
this.detailList?.map(item => {
|
||||
this.xAxisArr.push(item.month)
|
||||
this.xAxisArr = [...new Set(this.xAxisArr)]; // 去重
|
||||
})
|
||||
// console.log(" this.xAxisArr", this.xAxisArr)
|
||||
console.log(" this.xAxisArr", this.xAxisArr)
|
||||
// this.xAxisArr[this.xAxisArr.length - 1] = '本月'
|
||||
await this.twoTabHanldeData()
|
||||
}else if (this.active === 3) {
|
||||
|
Reference in New Issue
Block a user