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

View File

@@ -136,7 +136,7 @@
</template> </template>
</el-popover> </el-popover>
<div v-else> <div v-else>
<div class="data-item-no-data data-item__hover"></div> <div class="data-item-no-data"></div>
</div> </div>
</div> </div>