Merge pull request #469 from clddup/master
fix: 修复 Transfer 组件 optionApi 不生效
This commit is contained in:
commit
92ea7bc14f
|
@ -158,7 +158,8 @@ export default defineComponent({
|
|||
{
|
||||
field: item.field,
|
||||
path:
|
||||
item.component === ComponentNameEnum.TREE_SELECT
|
||||
item.component === ComponentNameEnum.TREE_SELECT ||
|
||||
item.component === ComponentNameEnum.TRANSFER
|
||||
? 'componentProps.data'
|
||||
: 'componentProps.options',
|
||||
value: options
|
||||
|
|
Loading…
Reference in New Issue