Skip to content

Is there any property on components to determine whether they're nested inside KeepAlive? #8162

Closed Answered by chenxch
samueleiche asked this question in Help/Questions
Discussion options

You must be logged in to vote

You can use the onActivated statement cycle to judge.
demo

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@samueleiche
Comment options

@samueleiche
Comment options

Answer selected by samueleiche
Comment options

You must be logged in to vote
3 replies
@samueleiche
Comment options

@edison1105
Comment options

@samueleiche
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants