vue中$refs, $emit, $on, $once, $off的使用详解 1.$refs的使用场景父组件调用子组件的方法,可以传递数据。父组件:<divid="app"><child- $once