const router = new VueRouter({ routes: [ { path: '/a', redirect: to => { // 方法接收目标路由作为参数 // return 重定向的字符串路径/路径对象 }} ] }).
確定! 回上一頁