Merge pull request #469 from clddup/master

fix: 修复 Transfer 组件 optionApi 不生效
This commit is contained in:
Archer 2024-05-20 09:20:29 +08:00 committed by GitHub
commit 92ea7bc14f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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