mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 10:08:52 +08:00
#115 fix lint
This commit is contained in:
@@ -74,8 +74,10 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
const col = this.selectedColumnIndex
|
||||
const row = this.currentRowIndex
|
||||
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) {
|
||||
this.selectCell(cell)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user