feat: 联想弹层 保存名称绑定valueField变量修改
This commit is contained in:
@ -139,7 +139,7 @@
|
||||
const options = unref(selectedDataSourceVal.value);
|
||||
const txtArr = options
|
||||
.filter((opt) => {
|
||||
return arr.includes(opt.value);
|
||||
return arr.includes(opt[props.valueField!]);
|
||||
})
|
||||
.map((item) => item[props.labelField]);
|
||||
formData[camelCaseString(props.sepTextField)] = txtArr.join(',');
|
||||
|
||||
Reference in New Issue
Block a user