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