fix(工作台): 解决功能用例跳转问题
--user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001016734
This commit is contained in:
parent
bd9078b4e8
commit
0cac065e28
|
@ -650,10 +650,6 @@ export default {
|
|||
if (!index) {
|
||||
this.type = "edit";
|
||||
this.testCaseReadOnly = false;
|
||||
if (!this.ignoreTreeNodes && testCase.label !== "redirect" && this.treeNodes.length < 1) {
|
||||
this.$warning(this.$t('test_track.case.create_module_first'));
|
||||
return;
|
||||
}
|
||||
let hasEditPermission = hasPermission('PROJECT_TRACK_CASE:READ+EDIT');
|
||||
this.$set(testCase, 'rowClickHasPermission', hasEditPermission);
|
||||
this.addTab({name: 'edit', testCaseInfo: testCase});
|
||||
|
|
Loading…
Reference in New Issue