|
@@ -242,9 +242,8 @@ export default {
|
|
|
} else if (this.Statistics.title === '缺陷24小时修复') {
|
|
|
const listData = this.Statistics.yaxis[this.defaultKey]
|
|
|
this.dataList = listData[this.defaultKey2]
|
|
|
- console.log(this.defaultKey, this.defaultKey2, this.dataList)
|
|
|
}
|
|
|
- if (this.dataList[0]) { // 判断idList有没有数据
|
|
|
+ if (this.dataList && this.dataList[0]) { // 判断idList有没有数据
|
|
|
this.getTableData(this.dataList)
|
|
|
} else { // 没有数据初始化table
|
|
|
this.tableData = []
|