Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asyncData function only works once #336

Open
AndySHLab opened this issue Jun 1, 2022 · 0 comments
Open

asyncData function only works once #336

AndySHLab opened this issue Jun 1, 2022 · 0 comments

Comments

@AndySHLab
Copy link

Function asyncData only works once.

When the route is loaded for the first time component.data function set data on component. If you reload the route function assignment to component.date does not occur and the component contains the data loaded when the route was first loaded.

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

No branches or pull requests

1 participant