How to call function on child component on parent events

后端 未结 9 1139
陌清茗
陌清茗 2020-11-27 09:16

Context

In Vue 2.0 the documentation and others clearly indicate that communication from parent to child happens via props.

Question

How does a p

9条回答
  •  无人及你
    2020-11-27 10:10

    If you have time, use Vuex store for watching variables (aka state) or trigger (aka dispatch) an action directly.

提交回复
热议问题