fix(测试跟踪): 公共用例无法编辑
This commit is contained in:
parent
c9a3d013fe
commit
9859833ed6
|
@ -757,14 +757,10 @@ export default {
|
||||||
},
|
},
|
||||||
handleEdit(testCase, column) {
|
handleEdit(testCase, column) {
|
||||||
if (column.label !== this.$t('test_track.case.case_desc')) {
|
if (column.label !== this.$t('test_track.case.case_desc')) {
|
||||||
if (this.publicEnable) {
|
this.$get('test/case/get/' + testCase.id, response => {
|
||||||
return;
|
let testCase = response.data;
|
||||||
} else {
|
this.$emit('testCaseEdit', testCase);
|
||||||
this.$get('test/case/get/' + testCase.id, response => {
|
});
|
||||||
let testCase = response.data;
|
|
||||||
this.$emit('testCaseEdit', testCase);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue