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

This commit is contained in:
guoyuqi 2022-10-11 16:32:19 +08:00 committed by xiaomeinvG
parent f8d25edef4
commit 66ce3c6a87

View File

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