fix(测试跟踪): 部分项目编辑无法选择jira问题类型
--bug=1013732 --user=陈建星 【项目管理】创建/编辑项目,第三方平台选jira,问题/需求类型无法选择 https://www.tapd.cn/55049933/s/1172306
This commit is contained in:
parent
4d635dfa35
commit
48fdd7151e
|
@ -219,7 +219,14 @@ export default {
|
|||
listenGoBack(this.handleClose);
|
||||
if (row) {
|
||||
this.title = this.$t('project.edit');
|
||||
row.issueConfigObj = row.issueConfig ? JSON.parse(row.issueConfig) : {};
|
||||
row.issueConfigObj = row.issueConfig ? JSON.parse(row.issueConfig) : {jiraIssueTypeId: null, jiraStoryTypeId: null};
|
||||
// 兼容性处理
|
||||
if (!row.issueConfigObj.jiraIssueTypeId) {
|
||||
row.issueConfigObj.jiraIssueTypeId = null;
|
||||
}
|
||||
if (!row.issueConfigObj.jiraStoryTypeId) {
|
||||
row.issueConfigObj.jiraStoryTypeId = null;
|
||||
}
|
||||
this.form = Object.assign({}, row);
|
||||
this.issueTemplateId = row.issueTemplateId;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue