Does nuxt use keep-alive, to empty data in data every time you switch pages?

each time nuxt uses keep-alive, to switch pages, it will empty the data in data, which is inconsistent with the performance of keep-alive in normal vue-cli-built projects.

for example, the asynchronously acquired data I loaded in list is switched to index and then returned to list, list. The data data has been cleared, which is completely different from ordinary vue projects
clipboard.png


:

https://glitch.com/edit/-sharp!/nu...:12:0

clipboard.png

.
The latest version of

Nuxt has fixed this issue, issue: https://github.com/nuxt/nuxt.


clipboard.png

Menu