Skip to content

For <component :is="Math.random() > 0.5 ? Foo : Bar" />, I define a function ChangeFooName in Foo and a function ChangeBarName in Bar, how to use the function in Foo or Bar when Foo or Bar is rendered? #9415

Unanswered
LZS1991 asked this question in Help/Questions
Discussion options

You must be logged in to vote

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants