From 00b1b352e5af0fe62fe867164b42df42f59f7329 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 22 Nov 2022 20:39:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=BC=96=E8=BE=91=E6=A8=A1=E6=9D=BF=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1019965 --user=陈建星 【项目设置】项目关联禅道-编辑项目-用例模版是uuid,缺陷模版显示无数据 https://www.tapd.cn/55049933/s/1301740 --bug=1019900 --user=陈建星 【项目设置】项目信息-编辑项目-用例模版显示错误 https://www.tapd.cn/55049933/s/1301697 --- project-management/frontend/src/business/home/EditProject.vue | 4 ++-- .../frontend/src/business/workspace/project/EditProject.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/project-management/frontend/src/business/home/EditProject.vue b/project-management/frontend/src/business/home/EditProject.vue index 7361de5198..1bd772cbb6 100644 --- a/project-management/frontend/src/business/home/EditProject.vue +++ b/project-management/frontend/src/business/home/EditProject.vue @@ -255,11 +255,11 @@ export default { this.issueTemplateId = row.issueTemplateId; } + this.platformOptions = []; + this.platformOptions.push(...ISSUE_PLATFORM_OPTION); getPlatformOption() .then((r) => { - this.platformOptions = []; this.platformOptions.push(...r.data); - this.platformOptions.push(...ISSUE_PLATFORM_OPTION); this.loading = getAllServiceIntegration().then(res => { let data = res.data; let platforms = data.map(d => d.platform); diff --git a/system-setting/frontend/src/business/workspace/project/EditProject.vue b/system-setting/frontend/src/business/workspace/project/EditProject.vue index c03a97ec18..695c5d8a60 100644 --- a/system-setting/frontend/src/business/workspace/project/EditProject.vue +++ b/system-setting/frontend/src/business/workspace/project/EditProject.vue @@ -251,11 +251,11 @@ export default { this.issueTemplateId = row.issueTemplateId; } + this.platformOptions = []; + this.platformOptions.push(...ISSUE_PLATFORM_OPTION); getPlatformOption() .then((r) => { - this.platformOptions = []; this.platformOptions.push(...r.data); - this.platformOptions.push(...ISSUE_PLATFORM_OPTION); this.loading = getAllServiceIntegration().then(res => { let data = res.data; let platforms = data.map(d => d.platform);