fix: Link Monitor空白网格图去除hover样式,并修正变量名和注释
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user