Skip to content

Using the key attribute to control component refresh in vue failed #11860

Discussion options

You must be logged in to vote

refresh_content is a plain, nonreactive variable. Changing it will not trigger a re-render, and so won't update the key. use a ref() instead

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@pengzihao2002
Comment options

@LinusBorg
Comment options

@pengzihao2002
Comment options

@LinusBorg
Comment options

@pengzihao2002
Comment options

Answer selected by pengzihao2002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants