vuejs - 父组件渲染子组件的过程 parent render child component process

访问量: 961

1. 渲染parent

2. 渲染child

3. 执行parent中的 ajax, 等async操作. 

4. 通过双向绑定,影响 child 中的props

5. 所以需要 child component中对 props进行watch

订阅/RSS Feed

Subscribe