摘要: vue-router的匹配规则是从上向下,匹配到就不继续向下匹配了,但是最近发现了一个问题 // 定义路由规则的数组 const routes = [ { path: '*', component: NotFound }, { path: '/', redirect: '/find', // 重定向 阅读全文
posted @ 2022-09-26 19:23 小影影 阅读(127) 评论(0) 推荐(0)