fix(测试跟踪): 评审跨项目关联用例模块为空

--bug=1033914 --user=宋昌昌 【用例评审】关联跨项目用例,所属模块显示空 https://www.tapd.cn/55049933/s/1480944
This commit is contained in:
song-cc-rock 2024-03-26 14:43:37 +08:00 committed by 刘瑞斌
parent 1db7501d42
commit 57011d5ce4
2 changed files with 18 additions and 18 deletions

View File

@ -256,7 +256,6 @@ import {
getTesReviewById
} from "@/api/test-review";
import {getTestTemplate} from "@/api/custom-field-template";
import {mapState} from "pinia";
export default {
name: "TestReviewTestCaseList",
@ -397,9 +396,9 @@ export default {
projectId() {
return getCurrentProjectID();
},
...mapState(useStore, {
moduleOptions: 'testCaseReviewCaseModuleOptions'
}),
moduleOptions() {
return useStore().testCaseReviewCaseModuleOptions;
},
nodePathMap() {
let map = new Map();
if (this.moduleOptions) {

View File

@ -7,6 +7,7 @@ export default {
testCasePublicSelectNodeIds: [],
testCaseModuleOptions: [],
testCaseReviewModuleOptions: [],
testCaseReviewCaseModuleOptions: [],
testPlanModuleOptions: [],
testReviewSelectNode: {},
testReviewSelectNodeIds: [],