Skip to content

Can't get data from <transfer/> when using it in form.item #5167

@ufoozhenghao

Description

@ufoozhenghao
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.7.7

Environment

^2.6.14

Reproduction link

https://github.com/ufoozhenghao/transfer-issues-forked.git

Steps to reproduce

I create this.$emit('transfer',data) in transferDome.vue in Line119 and set v-decorator="['transfer',{valuePropName: 'keys', getValueFromEvent: 'transfer'},] in App.vue in Line5.
when i click submit, i received ’undefined‘ in console.log

What is expected?

When click 'Submit', I want get data(nextTargetKeys) from and show in form values and show in console

What is actually happening?

when i click submit, i received ’undefined‘ in console.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions