This repository has been archived by the owner on Dec 31, 2024. It is now read-only.
How to listen for changes in the script #1510
Unanswered
Yanren1225
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I get the language data in the script like this
After that I will use v-for in the template to do something, But the problem is that this part doesn't change after switching Locale, so all I can think of is to listen to the locale in watch and reassign it. Anyone have a better idea?
I can only think of this
Beta Was this translation helpful? Give feedback.
All reactions