From ad5346d7e8d73554a23fce46e51c9657b47d9f6b Mon Sep 17 00:00:00 2001 From: wenyann <64353056+wenyann@users.noreply.github.com> Date: Wed, 24 Mar 2021 18:52:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/track/case/components/TestCaseEdit.vue | 4 ++-- 1 file changed, 2 insertions(+), 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 aad23f62a9..dd608a85f1 100644 --- a/frontend/src/business/components/track/case/components/TestCaseEdit.vue +++ b/frontend/src/business/components/track/case/components/TestCaseEdit.vue @@ -455,7 +455,7 @@ export default { }, getTestOptions(val) { this.form.type = val - this.projectId = getCurrentProjectID() + this.projectId = this.projectId 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 = getCurrentProjectID(); + this.projectId = this.projectId; if (window.history && window.history.pushState) { history.pushState(null, null, document.URL); window.addEventListener('popstate', this.close);