Home > Q&A > body text
Write emit in a.vue
Write $on in b.vue to get
But in b.vue, the value of user_id can be printed on the console, but cannot be printed on the page.
Both vue files have introduced bus, why is this?
漂亮男人2017-06-14 10:55:32
Print this to see if it is this of the vue instance