fix(工作台): 解决功能用例跳转问题

--user=郭雨琦
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001016734
This commit is contained in:
guoyuqi 2022-09-14 11:37:58 +08:00 committed by f2c-ci-robot[bot]
parent bd9078b4e8
commit 0cac065e28
1 changed files with 0 additions and 4 deletions

View File

@ -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});