fix(项目设置): 项目编辑模板选项显示错误

--bug=1019965 --user=陈建星 【项目设置】项目关联禅道-编辑项目-用例模版是uuid,缺陷模版显示无数据 https://www.tapd.cn/55049933/s/1301740
--bug=1019900 --user=陈建星 【项目设置】项目信息-编辑项目-用例模版显示错误 https://www.tapd.cn/55049933/s/1301697
This commit is contained in:
chenjianxing 2022-11-22 20:39:50 +08:00 committed by jianxing
parent 2e9b7b93f1
commit 636f2272d9
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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);