The keepAlive, in nuxt is used, but I find that when the page component is switched, the data will be emptied when entering the interface. Is this his bug?

nuxt 1.4

uses keepAlive, in nuxt, but I find that when the page component is switched, the data in data will be reset and emptied when entering the interface . Is this his bug?

if there is a problem with the setting, how can I modify the setting?

Feb.28,2021

< nuxt keep-alive/ >
clipboard.png


Hello, have you solved the problem of keepAlive page caching? I have also encountered this problem


Nuxt the latest version has fixed this problem, issue: https://github.com/nuxt/nuxt.

.
Menu