fix: Link Monitor空白网格图去除hover样式,并修正变量名和注释

This commit is contained in:
刘洪洪
2023-09-25 11:38:13 +08:00
parent 85bf0c7137
commit b9f032449f
2 changed files with 11 additions and 11 deletions

View File

@@ -137,11 +137,11 @@ export default {
})
// 一行如果无数据则删除该行默认10*10矩阵
const rowIndex1 = 0
this.handleXRowNoData(linkGridData, rowIndex1)
const rowXIndex = 0
this.handleXRowNoData(linkGridData, rowXIndex)
// 一列如果无数据则删除该列默认10*10矩阵
const rowIndex = 0
this.handleYRowNoData(linkGridData, rowIndex)
const rowYIndex = 0
this.handleYRowNoData(linkGridData, rowYIndex)
this.isLinkNoData = linkGridData.length === 0
this.linkGridData = linkGridData
}
@@ -238,11 +238,11 @@ export default {
})
// 一行如果无数据则删除该行默认3*3矩阵
const rowIndex1 = 0
this.handleXRowNoData(nextGridData, rowIndex1)
const rowXIndex = 0
this.handleXRowNoData(nextGridData, rowXIndex)
// 一列如果无数据则删除该列默认3*3矩阵
const rowIndex = 0
this.handleYRowNoData(nextGridData, rowIndex)
const rowYIndex = 0
this.handleYRowNoData(nextGridData, rowYIndex)
this.isNextNoData = nextGridData.length === 0
this.nextGridData = nextGridData
@@ -315,7 +315,7 @@ export default {
return width
},
/**
* 删除重复
* 删除
* @param data
* @param index
*/
@@ -337,7 +337,7 @@ export default {
}
},
/**
* 删除重复
* 删除
* @param data
* @param index
*/