XanderCheung
热度 5757 评论 0 赞 0
给组件加key,需要重新加载时,只需要更改key如:只需要更改activeId 的值,group-list 组件便会重新渲染
key
activeId
group-list
<group-list :key="activeId">