diff --git a/frontend/src/business/components/track/case/components/TestCaseList.vue b/frontend/src/business/components/track/case/components/TestCaseList.vue
index 9772f2821c..dd2ffa76f8 100644
--- a/frontend/src/business/components/track/case/components/TestCaseList.vue
+++ b/frontend/src/business/components/track/case/components/TestCaseList.vue
@@ -24,7 +24,6 @@
:row-order-group-id="projectId"
:row-order-func="editTestCaseOrder"
@handlePageChange="initTableData"
- @handleRowClick="handleEdit"
:fields.sync="fields"
:field-key="tableHeaderKey"
@filter="search"
@@ -80,15 +79,28 @@
prop="num"
sortable
:label="$t('commons.id')"
- min-width="80"/>
+ min-width="80">
+
+
+ {{ scope.row.num }}
+
+
+
+ min-width="80">
+
+
+ {{ scope.row.num }}
+
+
+
{
- let testCase = response.data;
- testCase.trashEnable = this.trashEnable;
- this.$emit('testCaseEdit', testCase);
- });
- }
+ handleEdit(testCase) {
+ if (this.publicEnable) {
+ return;
+ } else {
+ this.$get('test/case/get/' + testCase.id, response => {
+ let testCase = response.data;
+ testCase.trashEnable = this.trashEnable;
+ this.$emit('testCaseEdit', testCase);
+ });
}
},
handleEditPublic(testCase, column) {