From 88466eca5e7cde56e46419b3d0cdbff1daf97382 Mon Sep 17 00:00:00 2001 From: lana-k Date: Sun, 7 Jan 2024 12:31:53 +0100 Subject: [PATCH] #115 fix lint --- src/views/Main/Workspace/Tabs/Tab/RunResult/Record/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/Main/Workspace/Tabs/Tab/RunResult/Record/index.vue b/src/views/Main/Workspace/Tabs/Tab/RunResult/Record/index.vue index b548169..2e7f3ba 100644 --- a/src/views/Main/Workspace/Tabs/Tab/RunResult/Record/index.vue +++ b/src/views/Main/Workspace/Tabs/Tab/RunResult/Record/index.vue @@ -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) }