fix(测试跟踪): 解决工作台功能用例跳转详情失败问题

This commit is contained in:
guoyuqi 2022-10-11 16:32:19 +08:00 committed by xiaomeinvG
parent f8d25edef4
commit 66ce3c6a87
1 changed files with 1 additions and 1 deletions

View File

@ -620,7 +620,7 @@ export default {
let path = route.path; let path = route.path;
if (path.indexOf("/track/case/edit") >= 0 || path.indexOf("/track/case/create") >= 0) { if (path.indexOf("/track/case/edit") >= 0 || path.indexOf("/track/case/create") >= 0) {
this.testCaseReadOnly = false; this.testCaseReadOnly = false;
let caseId = this.$route.params.caseId; let caseId = this.$route.query.caseId;
if (!this.projectId) { if (!this.projectId) {
this.$warning(this.$t('commons.check_project_tip')); this.$warning(this.$t('commons.check_project_tip'));
return; return;