摘要: router.beforeResolve((to,from,next)=> { if(to.matched && to.matched.length > 2) to.matched.splice(1,to.matched.length-2) next() }) 阅读全文
posted @ 2021-12-15 11:13 看不懂吧 阅读(334) 评论(0) 推荐(0) 编辑