摘要: component component 每次切换都会创建新的组件, 在动态组件上使用 keep-alive,避免反复重渲染导致的性能问题, component 是单向数据流:父组件数据影响子组件,子组件的数据改变不会影响父组件 切换组件 使用component 使用ref require.conte 阅读全文
posted @ 2019-11-06 23:16 雨天。我 阅读(160) 评论(0) 推荐(0)