fix(接口定义): 修复自定义字段多选成员没有值的缺陷 (#17971)
--bug=1016828 --user=王孝刚 【项目设置】模板管理-自定义字段,多选成员下拉框不显示数据 https://www.tapd.cn/55049933/s/1244631 Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
parent
9b8d5a8da1
commit
aab7a50b7f
|
@ -155,15 +155,14 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.data.type.indexOf("member") < 0) {
|
if (this.data.type === 'member' || this.data.type === 'multipleMember') {
|
||||||
return;
|
|
||||||
}
|
|
||||||
getProjectMemberOption((data) => {
|
getProjectMemberOption((data) => {
|
||||||
this.memberOptions = data;
|
this.memberOptions = data;
|
||||||
if (this.data.name === '责任人' && this.data.system && this.isTemplateEdit) {
|
if (this.data.name === '责任人' && this.data.system && this.isTemplateEdit) {
|
||||||
this.memberOptions.unshift({id: 'CURRENT_USER', name: '创建人', email: ''});
|
this.memberOptions.unshift({id: 'CURRENT_USER', name: '创建人', email: ''});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getTranslateOption(item) {
|
getTranslateOption(item) {
|
||||||
|
|
Loading…
Reference in New Issue