How to set key filed for certain component in router-view?
#2221
Unanswered
FishHawk
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My website use
router-viewandkeep-alivetogether like this:WebNovelandWebNovelEditneed change page content based onnovelId.Now I want to recreate the component only when the
novelIdchanges. I know I can calculate the key based on the component name, but is there a more elegant way to do it?Beta Was this translation helpful? Give feedback.
All reactions