[bug?] When I try to read listener(onXXX) from $props, I got the undefined
.
#6232
Answered
by
liulinboyi
JuerGenie
asked this question in
Help/Questions
-
just only got rendered html: why and how? 😂 |
Beta Was this translation helpful? Give feedback.
Answered by
liulinboyi
Jul 10, 2022
Replies: 1 comment
-
First of all, in part 3 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
LinusBorg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, in part 3
edit file ChildComp.vue, and add <div v-if="!!$props.onResponse">{{ String($props.onResponce) }}</div>
, theString($props.onResponce)
should beString($props.onResponse)
, if you want get theonResponse
, you must declare in the props😉.Like this Example