diff --git a/test-track/frontend/src/business/case/components/TestCaseList.vue b/test-track/frontend/src/business/case/components/TestCaseList.vue index 73083f5b04..1df4630e9a 100644 --- a/test-track/frontend/src/business/case/components/TestCaseList.vue +++ b/test-track/frontend/src/business/case/components/TestCaseList.vue @@ -46,6 +46,7 @@ :highlight-current-row="true" :refresh-by-search.sync="refreshBySearch" @handlePageChange="initTableData" + @handleRowClick="intoEdit" @order="initTableData" @filter="search" @callBackSelect="callBackSelect" @@ -84,7 +85,7 @@ :label="$t('commons.id')" min-width="80"> @@ -97,7 +98,7 @@ :label="$t('commons.id')" min-width="80"> @@ -109,7 +110,7 @@ :label="$t('test_track.case.name')" min-width="120"> @@ -857,6 +858,9 @@ export default { reloadTable() { this.$refs.table.resetHeader(); }, + intoEdit(row) { + this.handleEdit(row); + }, handleEdit(testCase) { openCaseEdit({caseId: testCase.id}, this); }, @@ -1286,8 +1290,4 @@ span.version-select { color: #783887; border: 1px solid #783887; } - -.hover-enter:hover{ - color: #783887; -}