javascript - When using vue $on and $emit to transfer values ​​between two vue files, the value can be printed on the console but not on the page.
三叔
三叔 2017-06-14 10:53:32
0
1
1049

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?

三叔
三叔

reply all(1)
漂亮男人

Print this to see if it is this of the vue instance

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template