beforeEach 事件router.beforeEach((to, from, next) => { if (to.meta.roles.includes(role)) { next() } else { next({path: '/404'}) }}) ...
確定! 回上一頁