diff --git a/frontend/package.json b/frontend/package.json index 95dc60202e..6dc8af31e0 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -49,7 +49,7 @@ "xml-js": "^1.6.11", "yan-progress": "^1.0.3", "jsonpath": "^1.1.0", - "vue-minder-editor-plus": "^1.0.17", + "vue-minder-editor-plus": "^1.0.18", "jsencrypt": "^3.1.0" }, "devDependencies": { diff --git a/frontend/src/business/components/common/components/MsModuleMinder.vue b/frontend/src/business/components/common/components/MsModuleMinder.vue index b57b3fe069..f489472ba8 100644 --- a/frontend/src/business/components/common/components/MsModuleMinder.vue +++ b/frontend/src/business/components/common/components/MsModuleMinder.vue @@ -7,6 +7,7 @@ :height="700" :progress-enable="false" :tags="tags" + :distinct-tags="distinctTags" @save="save" /> @@ -36,6 +37,12 @@ export default { return [] } }, + distinctTags: { + type: Array, + default() { + return [] + } + } }, data() { return { diff --git a/frontend/src/business/components/track/common/minder/TestCaseMinder.vue b/frontend/src/business/components/track/common/minder/TestCaseMinder.vue index 85340c98f2..e5ddc1fbfe 100644 --- a/frontend/src/business/components/track/common/minder/TestCaseMinder.vue +++ b/frontend/src/business/components/track/common/minder/TestCaseMinder.vue @@ -3,6 +3,7 @@ v-loading="result.loading" :tree-nodes="treeNodes" :data-map="dataMap" + :tags="tags" @save="save" /> @@ -17,6 +18,7 @@ name: "TestCaseMinder", return{ testCase: [], dataMap: new Map(), + tags: ['用例', '测试步骤', '预期结果', '备注'], result: {} } }, diff --git a/frontend/src/business/components/track/common/minder/TestPlanMinder.vue b/frontend/src/business/components/track/common/minder/TestPlanMinder.vue index 012b08ece6..b9a163da1f 100644 --- a/frontend/src/business/components/track/common/minder/TestPlanMinder.vue +++ b/frontend/src/business/components/track/common/minder/TestPlanMinder.vue @@ -4,6 +4,7 @@ :tree-nodes="treeNodes" :data-map="dataMap" :tags="tags" + :distinct-tags="[...tags, '未开始']" @save="save" /> diff --git a/frontend/src/business/components/track/common/minder/TestReviewMinder.vue b/frontend/src/business/components/track/common/minder/TestReviewMinder.vue index b42b16be99..6295625b19 100644 --- a/frontend/src/business/components/track/common/minder/TestReviewMinder.vue +++ b/frontend/src/business/components/track/common/minder/TestReviewMinder.vue @@ -4,6 +4,7 @@ :tree-nodes="treeNodes" :data-map="dataMap" :tags="tags" + :distinct-tags="[...tags, '未开始']" @save="save" />