fix(测试跟踪): 评审跨项目关联用例模块为空
--bug=1033914 --user=宋昌昌 【用例评审】关联跨项目用例,所属模块显示空 https://www.tapd.cn/55049933/s/1480944
This commit is contained in:
parent
1db7501d42
commit
57011d5ce4
|
@ -256,7 +256,6 @@ import {
|
||||||
getTesReviewById
|
getTesReviewById
|
||||||
} from "@/api/test-review";
|
} from "@/api/test-review";
|
||||||
import {getTestTemplate} from "@/api/custom-field-template";
|
import {getTestTemplate} from "@/api/custom-field-template";
|
||||||
import {mapState} from "pinia";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "TestReviewTestCaseList",
|
name: "TestReviewTestCaseList",
|
||||||
|
@ -397,9 +396,9 @@ export default {
|
||||||
projectId() {
|
projectId() {
|
||||||
return getCurrentProjectID();
|
return getCurrentProjectID();
|
||||||
},
|
},
|
||||||
...mapState(useStore, {
|
moduleOptions() {
|
||||||
moduleOptions: 'testCaseReviewCaseModuleOptions'
|
return useStore().testCaseReviewCaseModuleOptions;
|
||||||
}),
|
},
|
||||||
nodePathMap() {
|
nodePathMap() {
|
||||||
let map = new Map();
|
let map = new Map();
|
||||||
if (this.moduleOptions) {
|
if (this.moduleOptions) {
|
||||||
|
|
|
@ -7,6 +7,7 @@ export default {
|
||||||
testCasePublicSelectNodeIds: [],
|
testCasePublicSelectNodeIds: [],
|
||||||
testCaseModuleOptions: [],
|
testCaseModuleOptions: [],
|
||||||
testCaseReviewModuleOptions: [],
|
testCaseReviewModuleOptions: [],
|
||||||
|
testCaseReviewCaseModuleOptions: [],
|
||||||
testPlanModuleOptions: [],
|
testPlanModuleOptions: [],
|
||||||
testReviewSelectNode: {},
|
testReviewSelectNode: {},
|
||||||
testReviewSelectNodeIds: [],
|
testReviewSelectNodeIds: [],
|
||||||
|
|
Loading…
Reference in New Issue