Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: use correct row index (#14393)
Liu Ji3e480d5e968c
diff --git a/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTableLite/DataTableLite.vue b/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTableLite/DataTableLite.vueindex e040a8e2dd..cfc883f455 100644--- a/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTableLite/DataTableLite.vue+++ b/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTableLite/DataTableLite.vue@@ -184,7 +184,7 @@ const columns = computed(() => {},});},- render: (row) => {+ render: (row, rowIndex) => {const cell = row.getVisibleCells()[colIndex];const value = cell.getValue() as RowValue;return h(TableCell, {@@ -193,7 +193,7 @@ const columns = computed(() => {width: tableResize.getColumnWidth(colIndex),keyword: keyword.value,setIndex: props.setIndex,- rowIndex: props.offset + row.index,+ rowIndex: props.offset + rowIndex,colIndex,class: row.index % 2 === 1 && "bg-gray-100/50 dark:bg-gray-700/50",});