记一个坑,踩了几个小时才排查到,报错没有任何信息 背景是这样的,我在store中获取了router,我对目标route的matched进行遍历
match = to.matched; let tempList = match.filter(item => item.path); //
最后才发现