vuejs/jsx-vue2

Error in binding keyboard

xianchenxy opened this issue · 0 comments

my code

KeyEventInput: {
    functional: true,
    render(h, ctx) {
         console.log('zhq', Object.keys(ctx.listeners));
         return (
              <Input {...ctx.data}  vOn:keyup_enter_native={(ev) => ctx.listeners.keyup(ev)}></Input>
         );
    }
}

when I press any key
image

Does my code has some bugs? my code written according to this example :
image