mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 18:18:53 +08:00
#115 fix lint
This commit is contained in:
@@ -74,8 +74,10 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
const col = this.selectedColumnIndex
|
||||||
|
const row = this.currentRowIndex
|
||||||
const cell = this.$refs.table
|
const cell = this.$refs.table
|
||||||
.querySelector(`td[data-col="${this.selectedColumnIndex}"][data-row="${this.currentRowIndex}"]`)
|
.querySelector(`td[data-col="${col}"][data-row="${row}"]`)
|
||||||
if (cell) {
|
if (cell) {
|
||||||
this.selectCell(cell)
|
this.selectCell(cell)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user