From 22d437cc850a39be4619ee27d9fca9f30471b6ae Mon Sep 17 00:00:00 2001 From: wenyann <64353056+wenyann@users.noreply.github.com> Date: Wed, 24 Mar 2021 18:58:26 +0800 Subject: [PATCH 1/2] fix:projectId --- .../components/track/case/components/TestCaseEdit.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/track/case/components/TestCaseEdit.vue b/frontend/src/business/components/track/case/components/TestCaseEdit.vue index dd608a85f1..b1d2ca28cb 100644 --- a/frontend/src/business/components/track/case/components/TestCaseEdit.vue +++ b/frontend/src/business/components/track/case/components/TestCaseEdit.vue @@ -404,7 +404,7 @@ export default { type: String }, computed: { - projectId() { + projectIds() { return this.$store.state.projectId }, }, @@ -455,7 +455,7 @@ export default { }, getTestOptions(val) { this.form.type = val - this.projectId = this.projectId + this.projectId = this.projectIds this.testOptions = []; let url = ''; if (this.form.type === 'testcase' || this.form.type === 'automation') { @@ -556,7 +556,7 @@ export default { /* this.form.selected=[["automation", "3edaaf31-3fa4-4a53-9654-320205c2953a"],["automation", "3aa58bd1-c986-448c-8060-d32713dbd4eb"]] */ - this.projectId = this.projectId; + this.projectId = this.projectIds; if (window.history && window.history.pushState) { history.pushState(null, null, document.URL); window.addEventListener('popstate', this.close); From e9c004d8ef30009bdeee00d165156d8af34d9962 Mon Sep 17 00:00:00 2001 From: wenyann <64353056+wenyann@users.noreply.github.com> Date: Wed, 24 Mar 2021 19:11:00 +0800 Subject: [PATCH 2/2] fix:merge --- .../business/components/track/case/components/TestCaseEdit.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/business/components/track/case/components/TestCaseEdit.vue b/frontend/src/business/components/track/case/components/TestCaseEdit.vue index 911d4f6e78..5015cec501 100644 --- a/frontend/src/business/components/track/case/components/TestCaseEdit.vue +++ b/frontend/src/business/components/track/case/components/TestCaseEdit.vue @@ -109,8 +109,6 @@ class="ms-case" @change="clearInput" ref="cascade"> - -