0👍
You are initializing accounts
from accountTypes
, but initialization is a one-time thing. Updates to accountTypes
will not re-initialize accounts
.
If you want the child to stay up-to-date with the parent, then you should get rid of accounts
and just use accountTypes
.
- [Vuejs]-Why do all methods inside template in vue object call automatically when click on button?
- [Vuejs]-Vue js – Data from post request will not render
Source:stackexchange.com