vue组件中的name有什么作用? bigFace 2022-08-19 103 阅读1分钟 1.在使用keep-alive的时候,有include和exclude属性,里面使用组件name. 2.在使用递归组件的时候,组件调用自身,是用name来进行调用。