经验: 给router-view加了个keep-alive导致组件缓存了,所以不会触发beforeDestory和destoryed 转载于:https://www.cnblogs.com/tian-long/p/8417465.html