diff --git a/src/components/draw-app/dialogs/CiCjList.vue b/src/components/draw-app/dialogs/CiCjList.vue index 44a55cd..d40830d 100644 --- a/src/components/draw-app/dialogs/CiCjList.vue +++ b/src/components/draw-app/dialogs/CiCjList.vue @@ -10,6 +10,10 @@ col > 1 && ciCjList?.cjList[col - 2].bitList[row - 2].refRelays.length, changeCellSize: col == 1, + clickHeightLight: + relayCabinetStore.editCiCjConfigIndex && + relayCabinetStore.editCiCjConfigIndex.row == row - 1 && + relayCabinetStore.editCiCjConfigIndex.col == col - 1, }" v-for="col in showSetCellMessage.cols" :key="col" @@ -216,4 +220,7 @@ function onMouseOver(e: MouseEvent) { .heightLight { background-color: orange; } +.clickHeightLight { + background-color: red; +} diff --git a/src/components/draw-app/dialogs/CiQdList.vue b/src/components/draw-app/dialogs/CiQdList.vue index 7b24eb6..d3ce234 100644 --- a/src/components/draw-app/dialogs/CiQdList.vue +++ b/src/components/draw-app/dialogs/CiQdList.vue @@ -10,6 +10,10 @@ col > 1 && ciQdList?.qdList[col - 2].bitList[row - 2].refRelays.length, changeCellSize: col == 1, + clickHeightLight: + relayCabinetStore.editCiCjConfigIndex && + relayCabinetStore.editCiCjConfigIndex.row == row - 1 && + relayCabinetStore.editCiCjConfigIndex.col == col - 1, }" v-for="col in showSetCellMessage.cols" :key="col" @@ -212,4 +216,7 @@ function onMouseOver(e: MouseEvent) { .heightLight { background-color: orange; } +.clickHeightLight { + background-color: red; +}